Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001096, allocations: 112.6 kB / 17.06 MB, free: 5.965 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.00118/0.00118, allocations: 200 kB / 18.01 MB, free: 5.047 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.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 47.91 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4363, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.007682/0.4441, allocations: 4.947 MB / 405.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.4475, allocations: 1.264 MB / 407 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.448, allocations: 11.94 kB / 407 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.4484, allocations: 122.7 kB / 407.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.4491, allocations: 261.5 kB / 407.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.45, allocations: 311.5 kB / 407.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.4513, allocations: 1.103 MB / 408.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.4518, allocations: 254.5 kB / 409 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.4524, allocations: 422.5 kB / 409.4 MB, free: 156 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.453, allocations: 462.1 kB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.4531, allocations: 84 kB / 409.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.4534, allocations: 120 kB / 410.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.4535, allocations: 191.3 kB / 410.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.454, allocations: 449.7 kB / 410.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4551, allocations: 1.015 MB / 411.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4552, allocations: 0 / 411.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4552, allocations: 0 / 411.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4552, allocations: 0 / 411.7 MB, free: 13.85 MB / 334.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.002633/0.4578, allocations: 1.281 MB / 413 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4579, allocations: 12.02 kB / 413 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.4581, allocations: 96.38 kB / 413.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.4589, allocations: 499.9 kB / 413.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.459, allocations: 45.69 kB / 413.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4591, allocations: 64.38 kB / 413.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4606, allocations: 0.6509 MB / 414.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.4606, allocations: 12 kB / 414.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.4607, allocations: 27.94 kB / 414.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.4607, allocations: 16 kB / 414.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4625, allocations: 0.6922 MB / 415.1 MB, free: 10.36 MB / 334.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.004509/0.467, allocations: 2.383 MB / 417.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.4685, allocations: 0.5896 MB / 418.1 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.4693, allocations: 334 kB / 418.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.4694, allocations: 8.422 kB / 418.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009919/0.4704, allocations: 421.5 kB / 418.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.196e-06/0.4704, allocations: 0 / 418.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07001/0.5404, allocations: 15.43 MB / 434.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.5407, allocations: 153.4 kB / 434.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.5419, allocations: 0.5186 MB / 434.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003566/0.5423, allocations: 45.7 kB / 435 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.5428, allocations: 396.7 kB / 435.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/0.5434, allocations: 325.2 kB / 435.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000593/0.544, allocations: 186.6 kB / 435.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.5442, allocations: 386.7 kB / 436.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.5465, allocations: 0.7244 MB / 436.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.5489, allocations: 0.9551 MB / 437.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.5533, allocations: 1.689 MB / 439.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.5534, allocations: 4 kB / 439.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0234/0.5768, allocations: 5.378 MB / 445 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.577, allocations: 67.39 kB / 445 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/0.577, allocations: 8 kB / 445 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03431/0.6114, allocations: 6.841 MB / 451.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.6123, allocations: 151.7 kB / 452 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.62, allocations: 3.169 MB / 455.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.6219, allocations: 175.9 kB / 455.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.6222, allocations: 47.97 kB / 455.4 MB, free: 1.375 MB / 366.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.0006109/0.6228, allocations: 230.1 kB / 455.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.6231, allocations: 83.48 kB / 455.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02284/0.6459, allocations: 5.107 MB / 460.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/0.646, allocations: 16 kB / 460.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.646, allocations: 0 / 460.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.021e-05/0.6461, allocations: 3.984 kB / 460.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.6486, allocations: 1.112 MB / 462 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.6487, allocations: 0 / 462 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.6493, allocations: 103.8 kB / 462.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03353/0.6829, allocations: 6.793 MB / 468.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004605/0.6834, allocations: 23.98 kB / 468.9 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/0.6899, allocations: 3.052 MB / 471.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.69, allocations: 0 / 471.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/0.7145, allocations: 5.984 MB / 477.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.7148, allocations: 156.5 kB / 478.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.7151, allocations: 20 kB / 478.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.7167, allocations: 167.8 kB / 478.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.717, allocations: 100.9 kB / 478.4 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.7171, allocations: 27.97 kB / 478.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005523/0.7177, allocations: 358.8 kB / 478.7 MB, free: 9.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.7177, allocations: 0 / 478.7 MB, free: 9.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001028/0.7188, allocations: 263.9 kB / 479 MB, free: 9.602 MB / 398.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.0003402/0.7191, allocations: 131.2 kB / 479.1 MB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007502/0.7266, allocations: 2.184 MB / 481.3 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7266, allocations: 0 / 481.3 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003709/0.7304, allocations: 1.09 MB / 482.4 MB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7317, allocations: 134.4 kB / 482.5 MB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.7369, allocations: 1.805 MB / 484.3 MB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/0.7377, allocations: 0.9429 MB / 485.3 MB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004266/0.7382, allocations: 58.28 kB / 485.3 MB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.7383, allocations: 39.44 kB / 485.4 MB, free: 3.137 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7384, allocations: 0 / 485.4 MB, free: 3.137 MB / 398.1 MB Notification: Performance of Templates: time 0.04557/0.7839, allocations: 22.6 MB / 0.4961 GB, free: 12.62 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches