Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009128/0.0009128, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 199.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004069, allocations: 8 kB / 306.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1579, allocations: 51.49 MB / 358.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004381/0.1623, allocations: 3.98 MB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1649, allocations: 1.304 MB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.1653, allocations: 11.94 kB / 363.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1655, allocations: 79.36 kB / 363.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005852/0.1661, allocations: 287.1 kB / 363.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.1668, allocations: 215.6 kB / 363.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1678, allocations: 0.7032 MB / 364.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.1682, allocations: 203.7 kB / 364.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.1686, allocations: 362.7 kB / 365.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.1692, allocations: 410.3 kB / 365.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.382e-05/0.1693, allocations: 44 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1694, allocations: 67.97 kB / 365.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1696, allocations: 151.4 kB / 365.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1697, allocations: 169.3 kB / 366 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.1704, allocations: 0.7364 MB / 366.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1704, allocations: 4 kB / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1704, allocations: 0 / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1704, allocations: 0 / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002302/0.1727, allocations: 1.161 MB / 367.9 MB, free: 4.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1728, allocations: 8.031 kB / 367.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.173, allocations: 98.86 kB / 368 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.1736, allocations: 462.7 kB / 368.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.1737, allocations: 45.31 kB / 368.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1738, allocations: 67.95 kB / 368.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1752, allocations: 0.674 MB / 369.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1752, allocations: 4 kB / 369.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.1753, allocations: 27.94 kB / 369.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.1753, allocations: 16 kB / 369.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.177, allocations: 0.7507 MB / 370 MB, free: 2.02 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2524/0.4294, allocations: 2.414 MB / 372.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.431, allocations: 0.6386 MB / 373.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.4311, allocations: 11.48 kB / 373.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.4322, allocations: 457.9 kB / 373.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.756e-06/0.4322, allocations: 0 / 373.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06973/0.5019, allocations: 16.72 MB / 390.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.5021, allocations: 141.7 kB / 390.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.5029, allocations: 0.5182 MB / 390.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/0.5032, allocations: 45.7 kB / 391 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.5034, allocations: 386.8 kB / 391.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.5037, allocations: 307.7 kB / 391.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.5037, allocations: 28 kB / 391.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5038, allocations: 386.7 kB / 392.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.5056, allocations: 0.7947 MB / 392.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.5075, allocations: 1.021 MB / 393.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.5094, allocations: 0.8808 MB / 394.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5094, allocations: 4 kB / 394.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0205/0.5299, allocations: 5.658 MB / 400.4 MB, free: 4.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.53, allocations: 71.23 kB / 400.5 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.53, allocations: 4 kB / 400.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03248/0.5625, allocations: 7.318 MB / 407.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.5633, allocations: 183.7 kB / 408 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006908/0.5703, allocations: 3.21 MB / 411.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5722, allocations: 219.8 kB / 411.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5724, allocations: 47.97 kB / 411.5 MB, free: 8.973 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005288/0.5729, allocations: 229.6 kB / 411.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.5731, allocations: 79.06 kB / 411.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02263/0.5957, allocations: 5.465 MB / 417.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/0.5958, allocations: 15.95 kB / 417.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5958, allocations: 0 / 417.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.5959, allocations: 7.969 kB / 417.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.5982, allocations: 1.097 MB / 418.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5982, allocations: 3.391 kB / 418.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/0.5991, allocations: 131.8 kB / 418.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05089/0.65, allocations: 7.289 MB / 425.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/0.6504, allocations: 30.34 kB / 425.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007631/0.6581, allocations: 3.068 MB / 428.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.6581, allocations: 4 kB / 428.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03776/0.6959, allocations: 6.425 MB / 435.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.6963, allocations: 140.2 kB / 435.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.6966, allocations: 24 kB / 435.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.6987, allocations: 211.8 kB / 435.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.6991, allocations: 96.84 kB / 435.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.6992, allocations: 43.91 kB / 435.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.6999, allocations: 354.8 kB / 436.2 MB, free: 152 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6999, allocations: 0 / 436.2 MB, free: 152 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001313/0.7012, allocations: 256.1 kB / 436.4 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.7017, allocations: 133.7 kB / 436.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01042/0.7121, allocations: 2.328 MB / 438.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.7122, allocations: 1.375 kB / 438.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005314/0.7175, allocations: 1.145 MB / 440 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.7188, allocations: 118.2 kB / 440.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.7247, allocations: 2.104 MB / 442.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.7255, allocations: 0.9673 MB / 443.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.726, allocations: 62.25 kB / 443.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.7262, allocations: 35.44 kB / 443.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of SimCode: time 2.214e-06/0.7262, allocations: 0 / 443.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of Templates: time 0.04633/0.7725, allocations: 19.77 MB / 463.1 MB, free: 5.277 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches