Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2459, allocations: 53.35 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006169/0.252, allocations: 4.437 MB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.2545, allocations: 1.248 MB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.2548, allocations: 19.88 kB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2551, allocations: 122.7 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.2556, allocations: 261.6 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.2563, allocations: 311.5 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.2575, allocations: 1.099 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.2578, allocations: 178.7 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.2583, allocations: 426.5 kB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.2589, allocations: 430 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.259, allocations: 88 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.2592, allocations: 116 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2594, allocations: 203.3 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.2598, allocations: 382.3 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2609, allocations: 1.038 MB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2609, allocations: 0 / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2609, allocations: 0 / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.261, allocations: 0 / 442.7 MB, free: 12.37 MB / 350.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.002545/0.2635, allocations: 1.209 MB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2635, allocations: 12.03 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2637, allocations: 108.2 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.2645, allocations: 422.1 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.2645, allocations: 53.67 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.2646, allocations: 64.33 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2661, allocations: 0.7842 MB / 445.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2661, allocations: 0 / 445.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.2662, allocations: 27.98 kB / 445.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.2662, allocations: 16 kB / 445.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.268, allocations: 0.6921 MB / 446 MB, free: 8.883 MB / 350.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.2717, allocations: 1.8 MB / 447.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2732, allocations: 0.5631 MB / 448.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/0.2739, allocations: 306 kB / 448.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.274, allocations: 4.438 kB / 448.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.275, allocations: 0.5449 MB / 449.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.993e-06/0.275, allocations: 0 / 449.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07073/0.3458, allocations: 15.26 MB / 464.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3459, allocations: 141.5 kB / 464.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.3466, allocations: 0.5223 MB / 465.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.3467, allocations: 41.7 kB / 465.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.347, allocations: 408.6 kB / 465.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.3474, allocations: 321.2 kB / 465.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.3477, allocations: 190.5 kB / 466.1 MB, free: 4.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3479, allocations: 390.8 kB / 466.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.3501, allocations: 0.7785 MB / 467.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.3525, allocations: 1.085 MB / 468.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.3572, allocations: 1.697 MB / 470 MB, free: 376 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.3572, allocations: 7.938 kB / 470 MB, free: 368 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02397/0.3812, allocations: 5.397 MB / 475.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.3813, allocations: 67.41 kB / 475.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.3813, allocations: 7.984 kB / 475.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03436/0.4157, allocations: 6.845 MB / 482.4 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.4164, allocations: 147.7 kB / 482.5 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.4235, allocations: 3.165 MB / 485.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4252, allocations: 175.8 kB / 485.8 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4253, allocations: 47.97 kB / 485.9 MB, free: 400 kB / 382.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.0004287/0.4257, allocations: 229.6 kB / 486.1 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.4259, allocations: 83.48 kB / 486.2 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02242/0.4483, allocations: 5.079 MB / 491.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4483, allocations: 8 kB / 491.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4483, allocations: 0 / 491.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.4483, allocations: 3.984 kB / 491.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4496, allocations: 0.7646 MB / 492.1 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4496, allocations: 0 / 492.1 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.4502, allocations: 95.88 kB / 492.1 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03457/0.4848, allocations: 6.785 MB / 498.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.4849, allocations: 27.97 kB / 499 MB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.4913, allocations: 3.041 MB / 0.4902 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4913, allocations: 4.438 kB / 0.4902 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/0.5169, allocations: 5.952 MB / 0.496 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.5171, allocations: 71.5 kB / 0.4961 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.5173, allocations: 19.94 kB / 0.4961 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.5188, allocations: 179.8 kB / 0.4963 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.5191, allocations: 96.83 kB / 0.4964 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5192, allocations: 31.98 kB / 0.4964 GB, free: 9.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004754/0.5197, allocations: 350.8 kB / 0.4968 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5197, allocations: 0 / 0.4968 GB, free: 9.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008004/0.5205, allocations: 259.9 kB / 0.497 GB, free: 9.176 MB / 414.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.0002818/0.5207, allocations: 135.1 kB / 0.4971 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007253/0.528, allocations: 2.164 MB / 0.4993 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.528, allocations: 4 kB / 0.4993 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003656/0.5316, allocations: 1.008 MB / 0.5002 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.5324, allocations: 118.2 kB / 0.5004 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.5369, allocations: 1.841 MB / 0.5022 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5373, allocations: 357.6 kB / 0.5025 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.5374, allocations: 39.44 kB / 0.5025 GB, free: 3.418 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5374, allocations: 7.938 kB / 0.5025 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Templates: time 0.02608/0.5635, allocations: 17.76 MB / 0.5199 GB, free: 1.68 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.593295616097748]