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.001343/0.001344, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.001298/0.001298, allocations: 192 kB / 18.62 MB, free: 4.41 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.503/1.503, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 47.97 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1031, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006264/0.1095, allocations: 4.93 MB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1121, allocations: 1.252 MB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.1124, allocations: 19.94 kB / 357.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1127, allocations: 122.7 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.1132, allocations: 261.5 kB / 358.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.1139, allocations: 307.5 kB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1149, allocations: 1.107 MB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.1154, allocations: 266.5 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.1159, allocations: 414.5 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.1166, allocations: 470 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.1167, allocations: 91.98 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.1169, allocations: 108 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1171, allocations: 191.3 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.1176, allocations: 445.8 kB / 361.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1187, allocations: 1.008 MB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1187, allocations: 0 / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1187, allocations: 3.938 kB / 362.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1187, allocations: 0 / 362.4 MB, free: 8.66 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.00268/0.1214, allocations: 1.266 MB / 363.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1215, allocations: 8.031 kB / 363.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.1216, allocations: 95.81 kB / 363.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.1223, allocations: 483.6 kB / 364.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1224, allocations: 53.62 kB / 364.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1225, allocations: 72.27 kB / 364.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1238, allocations: 0.6548 MB / 365.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1239, allocations: 0 / 365.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.1239, allocations: 28 kB / 365.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1239, allocations: 16 kB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.1256, allocations: 0.6922 MB / 365.8 MB, free: 5.195 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.003878/0.1294, allocations: 2.37 MB / 368.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.1309, allocations: 0.5905 MB / 368.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.1317, allocations: 326 kB / 369.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.1317, allocations: 12.42 kB / 369.1 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009562/0.1327, allocations: 425.4 kB / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.114e-06/0.1327, allocations: 0 / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.2403/0.373, allocations: 15.41 MB / 384.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.3731, allocations: 140.3 kB / 385 MB, free: 22.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.3741, allocations: 0.5119 MB / 385.6 MB, free: 21.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.3743, allocations: 52.56 kB / 385.6 MB, free: 21.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.3747, allocations: 390.2 kB / 386 MB, free: 21.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.3751, allocations: 315.6 kB / 386.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.3757, allocations: 184.8 kB / 386.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3759, allocations: 388.6 kB / 386.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.3782, allocations: 0.7228 MB / 387.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.3804, allocations: 0.9562 MB / 388.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/0.3842, allocations: 1.692 MB / 390.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3842, allocations: 2.531 kB / 390.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0216/0.4059, allocations: 5.377 MB / 395.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.406, allocations: 63.39 kB / 395.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.406, allocations: 8 kB / 395.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03184/0.4378, allocations: 6.829 MB / 402.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.4386, allocations: 147.7 kB / 402.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.4438, allocations: 3.016 MB / 405.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4456, allocations: 179.8 kB / 405.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.4457, allocations: 47.97 kB / 405.9 MB, free: 2.941 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.0004553/0.4462, allocations: 222.2 kB / 406.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4464, allocations: 83 kB / 406.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/0.4683, allocations: 5.096 MB / 411.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.4683, allocations: 8 kB / 411.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4683, allocations: 0 / 411.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.4684, allocations: 7.984 kB / 411.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4704, allocations: 1.103 MB / 412.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.4704, allocations: 0 / 412.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.4709, allocations: 107.8 kB / 412.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03417/0.5051, allocations: 6.776 MB / 419.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.5054, allocations: 31.97 kB / 419.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.5114, allocations: 3.033 MB / 422.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5115, allocations: 0 / 422.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02452/0.536, allocations: 5.985 MB / 428.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.5364, allocations: 148.1 kB / 428.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.5367, allocations: 16 kB / 428.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.5382, allocations: 171.8 kB / 428.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.5385, allocations: 104.8 kB / 428.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.5386, allocations: 34.97 kB / 428.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.5391, allocations: 357.9 kB / 429.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5391, allocations: 0 / 429.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007889/0.5399, allocations: 259.6 kB / 429.4 MB, free: 11.28 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.0002671/0.5402, allocations: 133.5 kB / 429.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.5463, allocations: 2.056 MB / 431.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5463, allocations: 0 / 431.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.5496, allocations: 1.081 MB / 432.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.5503, allocations: 131.8 kB / 432.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.554, allocations: 1.789 MB / 434.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.5545, allocations: 0.9468 MB / 435.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.5547, allocations: 61.09 kB / 435.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5548, allocations: 35.42 kB / 435.6 MB, free: 5 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5549, allocations: 3.938 kB / 435.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of Templates: time 0.03285/0.5877, allocations: 22.63 MB / 458.3 MB, free: 14.48 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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