Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001137/0.001137, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001055/0.001055, allocations: 187 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 47.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1531, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2844/0.4376, allocations: 4.679 MB / 379.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.441, allocations: 1.28 MB / 381.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.4415, allocations: 9.031 kB / 381.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.4419, allocations: 118.3 kB / 381.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.4424, allocations: 242.2 kB / 381.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.4432, allocations: 301.7 kB / 381.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.4446, allocations: 1.054 MB / 382.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.4451, allocations: 262.1 kB / 383.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.4459, allocations: 401.5 kB / 383.5 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.4465, allocations: 459.5 kB / 383.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.4467, allocations: 85.69 kB / 384 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.447, allocations: 109.6 kB / 384.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.4472, allocations: 188.6 kB / 384.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.4476, allocations: 434 kB / 384.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.4489, allocations: 0.9769 MB / 385.7 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4489, allocations: 0 / 385.7 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4489, allocations: 0 / 385.7 MB, free: 8.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.449, allocations: 1.375 kB / 385.7 MB, free: 8.129 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002512/0.4515, allocations: 1.231 MB / 386.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4515, allocations: 9.75 kB / 386.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.4517, allocations: 94.3 kB / 387 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.4524, allocations: 477.7 kB / 387.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.4525, allocations: 48.28 kB / 387.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4526, allocations: 62.36 kB / 387.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.454, allocations: 0.6335 MB / 388.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.4541, allocations: 5 kB / 388.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.4541, allocations: 26.36 kB / 388.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4542, allocations: 13.94 kB / 388.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4559, allocations: 0.6791 MB / 389 MB, free: 6.363 MB / 318.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.003809/0.4598, allocations: 2.317 MB / 391.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.4612, allocations: 0.582 MB / 391.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.462, allocations: 332.4 kB / 392.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.4621, allocations: 10.22 kB / 392.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.4631, allocations: 429.7 kB / 392.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.703e-06/0.4631, allocations: 0 / 392.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06841/0.5315, allocations: 15.43 MB / 408.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.5317, allocations: 145.5 kB / 408.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.5329, allocations: 498.9 kB / 408.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.5333, allocations: 45.7 kB / 408.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.5338, allocations: 374.8 kB / 409.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.5344, allocations: 325.5 kB / 409.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007286/0.5352, allocations: 182.5 kB / 409.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.5354, allocations: 382.7 kB / 410 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.5386, allocations: 0.7241 MB / 410.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.5419, allocations: 0.9265 MB / 411.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006292/0.5482, allocations: 1.666 MB / 413.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.5483, allocations: 0 / 413.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.03223/0.5805, allocations: 5.344 MB / 418.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.5807, allocations: 67.39 kB / 418.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.5807, allocations: 8 kB / 418.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04226/0.623, allocations: 6.82 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.624, allocations: 143.7 kB / 425.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.6317, allocations: 3.012 MB / 428.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.6337, allocations: 184.7 kB / 428.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.634, allocations: 47.97 kB / 428.9 MB, free: 8.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0007965/0.6348, allocations: 221.6 kB / 429.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/0.6351, allocations: 83.47 kB / 429.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/0.656, allocations: 5.101 MB / 434.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.6561, allocations: 11.98 kB / 434.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.6561, allocations: 0 / 434.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.02e-05/0.6561, allocations: 3.984 kB / 434.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.6581, allocations: 1.097 MB / 435.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.6582, allocations: 3.938 kB / 435.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.6587, allocations: 91.88 kB / 435.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03257/0.6913, allocations: 6.781 MB / 442.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/0.6917, allocations: 23.97 kB / 442.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/0.6975, allocations: 3.034 MB / 445.3 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6976, allocations: 0 / 445.3 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/0.7208, allocations: 5.995 MB / 451.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.7212, allocations: 148.6 kB / 451.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.7216, allocations: 16 kB / 451.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.7231, allocations: 175.8 kB / 451.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.7234, allocations: 96.88 kB / 451.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.7235, allocations: 27.98 kB / 451.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004724/0.724, allocations: 342.9 kB / 452.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.724, allocations: 0 / 452.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001004/0.725, allocations: 259.9 kB / 452.4 MB, free: 0.8086 MB / 366.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.0003032/0.7254, allocations: 124.6 kB / 452.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005991/0.7314, allocations: 2.04 MB / 454.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7314, allocations: 4.062 kB / 454.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.7348, allocations: 1.09 MB / 455.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.7358, allocations: 131.8 kB / 455.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.7398, allocations: 1.769 MB / 457.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.7403, allocations: 0.9389 MB / 458.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.7406, allocations: 54.08 kB / 458.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.7407, allocations: 35.44 kB / 458.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7407, allocations: 0 / 458.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.03717/0.7779, allocations: 22.75 MB / 481.3 MB, free: 3.789 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches