Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 84.28 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 176.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 11.94 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 50.41 MB / 351.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006614/0.1332, allocations: 4.528 MB / 356.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1369, allocations: 1.26 MB / 357.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.1375, allocations: 12 kB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1378, allocations: 91.22 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.1384, allocations: 214.2 kB / 357.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.1393, allocations: 271.6 kB / 358.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.1405, allocations: 1.036 MB / 359.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.1409, allocations: 223.4 kB / 359.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.1415, allocations: 366.5 kB / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.1421, allocations: 422 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.1422, allocations: 44 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.1425, allocations: 67.98 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1426, allocations: 151.3 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.1431, allocations: 427.5 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1443, allocations: 0.938 MB / 361.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1443, allocations: 0 / 361.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1443, allocations: 4 kB / 361.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1443, allocations: 0 / 361.8 MB, free: 9.645 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.002628/0.1469, allocations: 1.149 MB / 363 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.147, allocations: 12.03 kB / 363 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1472, allocations: 99.81 kB / 363.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1483, allocations: 483.5 kB / 363.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.1484, allocations: 49.69 kB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1485, allocations: 60.38 kB / 363.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.1502, allocations: 0.6783 MB / 364.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.1503, allocations: 3.906 kB / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.1504, allocations: 35.98 kB / 364.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1504, allocations: 16 kB / 364.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.1522, allocations: 0.7547 MB / 365.2 MB, free: 6.199 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.004804/0.157, allocations: 2.429 MB / 367.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1587, allocations: 0.6374 MB / 368.2 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.1595, allocations: 361.9 kB / 368.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.1596, allocations: 12.44 kB / 368.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.1606, allocations: 461.4 kB / 369 MB, free: 2.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.805e-06/0.1606, allocations: 0 / 369 MB, free: 2.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.3442/0.5048, allocations: 16.74 MB / 385.8 MB, free: 21.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.505, allocations: 149.2 kB / 385.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.506, allocations: 0.5166 MB / 386.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003146/0.5064, allocations: 47.39 kB / 386.5 MB, free: 21.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.5067, allocations: 391 kB / 386.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/0.5072, allocations: 312.1 kB / 387.2 MB, free: 20.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.5074, allocations: 88.5 kB / 387.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5075, allocations: 382.1 kB / 387.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.5097, allocations: 0.8029 MB / 388.4 MB, free: 19.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.5121, allocations: 1.033 MB / 389.5 MB, free: 19.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.5162, allocations: 1.846 MB / 391.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.5163, allocations: 3.656 kB / 391.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02306/0.5393, allocations: 5.75 MB / 397.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/0.5395, allocations: 67.39 kB / 397.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5395, allocations: 4.125 kB / 397.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0338/0.5733, allocations: 7.324 MB / 404.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.5744, allocations: 175.7 kB / 404.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.5813, allocations: 3.217 MB / 407.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.5833, allocations: 231.6 kB / 408.1 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.5835, allocations: 47.97 kB / 408.1 MB, free: 444 kB / 302.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 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006373/0.5842, allocations: 224.3 kB / 408.3 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.5845, allocations: 83 kB / 408.4 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02437/0.6088, allocations: 5.472 MB / 413.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.609, allocations: 8 kB / 413.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.609, allocations: 0 / 413.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.609, allocations: 11.98 kB / 413.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.6111, allocations: 1.106 MB / 415 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.6112, allocations: 4.359 kB / 415 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.6118, allocations: 127.8 kB / 415.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03682/0.6486, allocations: 7.294 MB / 422.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.6489, allocations: 23.98 kB / 422.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/0.6554, allocations: 3.08 MB / 425.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6555, allocations: 0 / 425.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02776/0.6832, allocations: 6.432 MB / 432 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.6838, allocations: 148.1 kB / 432.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.684, allocations: 20 kB / 432.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.6855, allocations: 211.8 kB / 432.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.6858, allocations: 100.8 kB / 432.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.6859, allocations: 35.97 kB / 432.5 MB, free: 7.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.6865, allocations: 354.8 kB / 432.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6865, allocations: 2.844 kB / 432.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.6874, allocations: 256 kB / 433.1 MB, free: 7.348 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.6877, allocations: 144.1 kB / 433.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.007754/0.6955, allocations: 2.334 MB / 435.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.6955, allocations: 8.062 kB / 435.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.6994, allocations: 1.146 MB / 436.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7005, allocations: 126.7 kB / 436.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.705, allocations: 2.2 MB / 439 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.7057, allocations: 0.9548 MB / 440 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.706, allocations: 62.27 kB / 440 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.7062, allocations: 31.44 kB / 440.1 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 1.763e-06/0.7062, allocations: 0 / 440.1 MB, free: 292 kB / 334.1 MB Notification: Performance of Templates: time 0.04064/0.7468, allocations: 20.42 MB / 460.5 MB, free: 11.96 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches