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.001175/0.001175, allocations: 115 kB / 16.63 MB, free: 6.812 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.001047/0.001047, allocations: 186 kB / 17.55 MB, free: 5.934 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.509/1.509, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 43.06 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1254, allocations: 49.46 MB / 349.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006744/0.1323, allocations: 4.941 MB / 354.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.135, allocations: 1.256 MB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.1354, allocations: 11.94 kB / 355.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1358, allocations: 91.28 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.1362, allocations: 218.1 kB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.1371, allocations: 271.7 kB / 356.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1382, allocations: 1.095 MB / 357.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.1386, allocations: 258.5 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.1391, allocations: 422.5 kB / 358.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.1395, allocations: 466 kB / 358.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1397, allocations: 88 kB / 358.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.1399, allocations: 112 kB / 358.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1401, allocations: 195.3 kB / 359 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.1404, allocations: 449.8 kB / 359.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009298/0.1414, allocations: 1.001 MB / 360.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1414, allocations: 0 / 360.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1414, allocations: 3.938 kB / 360.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1414, allocations: 0 / 360.4 MB, free: 9.84 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.002553/0.144, allocations: 1.262 MB / 361.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.144, allocations: 8.031 kB / 361.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.1442, allocations: 95.81 kB / 361.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.1448, allocations: 479.5 kB / 362.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.1448, allocations: 41.69 kB / 362.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1449, allocations: 76.27 kB / 362.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1463, allocations: 0.6548 MB / 363 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1463, allocations: 0 / 363 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.1464, allocations: 28 kB / 363 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1464, allocations: 16 kB / 363 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1481, allocations: 0.7 MB / 363.7 MB, free: 6.379 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.003719/0.1518, allocations: 2.386 MB / 366.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1532, allocations: 0.5883 MB / 366.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/0.1539, allocations: 326 kB / 367 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.154, allocations: 12.44 kB / 367 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.155, allocations: 421.4 kB / 367.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.354e-06/0.155, allocations: 0 / 367.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.2916/0.4466, allocations: 15.41 MB / 382.9 MB, free: 22.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.4467, allocations: 144 kB / 383 MB, free: 22.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008039/0.4476, allocations: 0.5196 MB / 383.5 MB, free: 22.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.4478, allocations: 45.61 kB / 383.6 MB, free: 22.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.448, allocations: 389.8 kB / 384 MB, free: 21.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.4483, allocations: 314.7 kB / 384.3 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.4487, allocations: 181.6 kB / 384.4 MB, free: 21.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.4488, allocations: 394.3 kB / 384.8 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.4507, allocations: 0.721 MB / 385.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.4529, allocations: 0.9583 MB / 386.5 MB, free: 20.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/0.4567, allocations: 1.695 MB / 388.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4567, allocations: 3.875 kB / 388.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02268/0.4794, allocations: 5.365 MB / 393.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.4795, allocations: 75.42 kB / 393.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4795, allocations: 4 kB / 393.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03179/0.5113, allocations: 6.832 MB / 400.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.512, allocations: 147.7 kB / 400.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004938/0.517, allocations: 3.02 MB / 403.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5186, allocations: 179.7 kB / 403.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.5187, allocations: 51.97 kB / 403.9 MB, free: 4.203 MB / 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.0004326/0.5191, allocations: 217.7 kB / 404.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.5193, allocations: 79.06 kB / 404.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/0.5415, allocations: 5.096 MB / 409.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.5416, allocations: 19.69 kB / 409.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.5416, allocations: 0 / 409.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.5417, allocations: 3.984 kB / 409.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.5439, allocations: 1.112 MB / 410.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.544, allocations: 3.375 kB / 410.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.5445, allocations: 91.81 kB / 410.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03608/0.5806, allocations: 6.791 MB / 417.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.5809, allocations: 23.97 kB / 417.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.5868, allocations: 3.029 MB / 420.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5868, allocations: 4 kB / 420.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02936/0.6162, allocations: 5.992 MB / 426.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.6166, allocations: 144.2 kB / 426.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.617, allocations: 16 kB / 426.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/0.619, allocations: 167.8 kB / 426.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/0.6195, allocations: 100.9 kB / 426.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.6196, allocations: 31.97 kB / 426.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006759/0.6203, allocations: 358.8 kB / 427.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6203, allocations: 0 / 427.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001348/0.6217, allocations: 256 kB / 427.4 MB, free: 12.55 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.0004376/0.6221, allocations: 139.1 kB / 427.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.008515/0.6307, allocations: 2.056 MB / 429.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6307, allocations: 3.938 kB / 429.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/0.6356, allocations: 1.081 MB / 430.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6366, allocations: 143 kB / 430.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.6422, allocations: 2.139 MB / 432.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.6431, allocations: 0.9468 MB / 433.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.6436, allocations: 62.17 kB / 433.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6437, allocations: 39.44 kB / 434 MB, free: 5.91 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6438, allocations: 0 / 434 MB, free: 5.91 MB / 334.1 MB Notification: Performance of Templates: time 0.03388/0.6776, allocations: 22.24 MB / 456.2 MB, free: 15.76 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