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.001713/0.001713, allocations: 110.6 kB / 17.73 MB, free: 5.316 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.00199/0.00199, allocations: 190.9 kB / 18.67 MB, free: 4.383 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.512/1.512, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001148/0.001148, allocations: 51.94 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 46.61 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.235/0.3367, allocations: 4.691 MB / 379.8 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3398, allocations: 1.278 MB / 381.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.3401, allocations: 9.625 kB / 381.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3405, allocations: 115 kB / 381.2 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.341, allocations: 252.4 kB / 381.5 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.3417, allocations: 305.4 kB / 381.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000969/0.3427, allocations: 1.057 MB / 382.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.3431, allocations: 261.7 kB / 383.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.3436, allocations: 407.5 kB / 383.5 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.3441, allocations: 456.6 kB / 383.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3443, allocations: 88.75 kB / 384 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3445, allocations: 106.8 kB / 384.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.3447, allocations: 183.9 kB / 384.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.3452, allocations: 437.6 kB / 384.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3467, allocations: 0.9728 MB / 385.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3467, allocations: 0 / 385.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3467, allocations: 1.781 kB / 385.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.3467, allocations: 0 / 385.7 MB, free: 8.133 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.002428/0.3491, allocations: 1.213 MB / 386.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3492, allocations: 10.12 kB / 386.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3494, allocations: 87.72 kB / 387 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.3501, allocations: 476.8 kB / 387.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.3501, allocations: 47.12 kB / 387.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3502, allocations: 57.75 kB / 387.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3517, allocations: 0.6422 MB / 388.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3517, allocations: 5.156 kB / 388.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.3517, allocations: 21.22 kB / 388.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.3518, allocations: 18.44 kB / 388.3 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.3535, allocations: 0.6766 MB / 389 MB, free: 6.391 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.004046/0.3576, allocations: 2.307 MB / 391.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3592, allocations: 0.5872 MB / 391.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.3599, allocations: 330.9 kB / 392.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.36, allocations: 12.2 kB / 392.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009923/0.361, allocations: 428 kB / 392.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.184e-06/0.361, allocations: 1.094 kB / 392.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06431/0.4253, allocations: 15.41 MB / 408 MB, free: 13.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.4255, allocations: 145.5 kB / 408.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.4261, allocations: 494.8 kB / 408.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.4263, allocations: 53.69 kB / 408.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.4266, allocations: 369.9 kB / 409.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.4269, allocations: 308.2 kB / 409.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.4272, allocations: 178.5 kB / 409.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4274, allocations: 382.8 kB / 409.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.4293, allocations: 0.7163 MB / 410.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.4314, allocations: 0.9226 MB / 411.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/0.4353, allocations: 1.666 MB / 413.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4353, allocations: 4 kB / 413.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02197/0.4573, allocations: 5.343 MB / 418.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.4574, allocations: 64.56 kB / 418.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4574, allocations: 8.875 kB / 418.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03235/0.4898, allocations: 6.822 MB / 425.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.4906, allocations: 143.7 kB / 425.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.4964, allocations: 3.016 MB / 428.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4981, allocations: 179.8 kB / 428.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4982, allocations: 46.8 kB / 428.8 MB, free: 8.5 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.0005149/0.4987, allocations: 225.6 kB / 429 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4989, allocations: 83 kB / 429.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/0.5195, allocations: 5.091 MB / 434.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.5196, allocations: 8 kB / 434.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5196, allocations: 4.641 kB / 434.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.5197, allocations: 7.969 kB / 434.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5214, allocations: 1.094 MB / 435.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5214, allocations: 3.938 kB / 435.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.5219, allocations: 105.8 kB / 435.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03147/0.5534, allocations: 6.778 MB / 442.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.5537, allocations: 23.98 kB / 442.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/0.5598, allocations: 3.036 MB / 445.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5598, allocations: 0 / 445.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/0.5824, allocations: 5.983 MB / 451.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.5827, allocations: 141.3 kB / 451.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.583, allocations: 19.98 kB / 451.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.5844, allocations: 171.8 kB / 451.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.5847, allocations: 96.86 kB / 451.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.5848, allocations: 31.98 kB / 451.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000473/0.5853, allocations: 334.9 kB / 452 MB, free: 1.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5853, allocations: 7.938 kB / 452 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009178/0.5862, allocations: 252 kB / 452.3 MB, free: 0.8789 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.0003186/0.5865, allocations: 128.8 kB / 452.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005971/0.5925, allocations: 2.046 MB / 454.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5926, allocations: 320 / 454.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/0.596, allocations: 1.091 MB / 455.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.5969, allocations: 135 kB / 455.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.6009, allocations: 1.737 MB / 457.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.6015, allocations: 0.9428 MB / 458.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.6018, allocations: 54.08 kB / 458.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6019, allocations: 31.44 kB / 458.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6019, allocations: 0 / 458.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03473/0.6367, allocations: 22.76 MB / 481.2 MB, free: 3.867 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