Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 60.78 kB / 379.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2658, allocations: 53.38 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006423/0.2722, allocations: 4.999 MB / 437.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.2749, allocations: 1.299 MB / 438.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.2753, allocations: 15.88 kB / 438.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.2756, allocations: 126.7 kB / 438.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.2761, allocations: 257.7 kB / 439.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.2769, allocations: 311.5 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2782, allocations: 1.091 MB / 440.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.2785, allocations: 195 kB / 440.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.279, allocations: 430.5 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.2796, allocations: 478 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2798, allocations: 92 kB / 441.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.28, allocations: 112 kB / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.2802, allocations: 207.2 kB / 442 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.2806, allocations: 453.8 kB / 442.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2817, allocations: 1.04 MB / 443.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2817, allocations: 0 / 443.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2817, allocations: 0 / 443.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2817, allocations: 8 kB / 443.5 MB, free: 11.88 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.002566/0.2843, allocations: 1.202 MB / 444.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2843, allocations: 8.031 kB / 444.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2845, allocations: 100.3 kB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007502/0.2852, allocations: 426.1 kB / 445.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.2853, allocations: 49.69 kB / 445.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.2854, allocations: 72.31 kB / 445.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.2868, allocations: 0.6548 MB / 446 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2869, allocations: 0 / 446 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.2869, allocations: 24 kB / 446 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.2869, allocations: 16 kB / 446 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.2886, allocations: 0.6961 MB / 446.7 MB, free: 8.562 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.004041/0.2926, allocations: 2.312 MB / 449 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.2941, allocations: 0.5587 MB / 449.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/0.2948, allocations: 306 kB / 449.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.2948, allocations: 20.34 kB / 449.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/0.2958, allocations: 429.4 kB / 450.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.794e-06/0.2958, allocations: 0 / 450.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07132/0.3671, allocations: 15.24 MB / 465.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3672, allocations: 145.5 kB / 465.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.368, allocations: 0.5186 MB / 466.2 MB, free: 4.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.3682, allocations: 49.7 kB / 466.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.3685, allocations: 392.7 kB / 466.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.3689, allocations: 337.1 kB / 467 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.3694, allocations: 178.6 kB / 467.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3696, allocations: 398.7 kB / 467.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.3718, allocations: 0.7205 MB / 468.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.3741, allocations: 0.9551 MB / 469.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.3785, allocations: 1.697 MB / 470.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3785, allocations: 0 / 470.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0244/0.4029, allocations: 5.343 MB / 476.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/0.403, allocations: 67.39 kB / 476.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.403, allocations: 4 kB / 476.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03494/0.4379, allocations: 6.84 MB / 483.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/0.4387, allocations: 151.7 kB / 483.3 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/0.4463, allocations: 3.161 MB / 486.5 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.448, allocations: 179.8 kB / 486.7 MB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.4482, allocations: 47.97 kB / 486.7 MB, free: 15.95 MB / 398.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.000567/0.4488, allocations: 233.6 kB / 486.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.449, allocations: 83.48 kB / 487 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02228/0.4713, allocations: 5.068 MB / 492.1 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.4714, allocations: 15.98 kB / 492.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4714, allocations: 256 / 492.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.264e-05/0.4714, allocations: 7.984 kB / 492.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.4736, allocations: 1.076 MB / 493.2 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4736, allocations: 0 / 493.2 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.4742, allocations: 91.89 kB / 493.3 MB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03365/0.5078, allocations: 6.793 MB / 0.4884 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.5081, allocations: 23.98 kB / 0.4884 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006429/0.5145, allocations: 3.052 MB / 0.4914 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.5145, allocations: 0 / 0.4914 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/0.5396, allocations: 5.948 MB / 0.4972 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5399, allocations: 83.41 kB / 0.4972 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.5403, allocations: 19.98 kB / 0.4973 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.5418, allocations: 167.8 kB / 0.4974 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.5422, allocations: 96.83 kB / 0.4975 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.5423, allocations: 31.97 kB / 0.4975 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006247/0.543, allocations: 358.8 kB / 0.4979 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.543, allocations: 0 / 0.4979 GB, free: 8.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001001/0.544, allocations: 259.9 kB / 0.4981 GB, free: 8.402 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.0003463/0.5443, allocations: 135.1 kB / 0.4983 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006784/0.5511, allocations: 2.091 MB / 0.5003 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5511, allocations: 320 / 0.5003 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.5545, allocations: 1.026 MB / 0.5013 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.5553, allocations: 142.4 kB / 0.5014 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.5595, allocations: 1.778 MB / 0.5032 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.5601, allocations: 0.9507 MB / 0.5041 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.5604, allocations: 58.27 kB / 0.5042 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5605, allocations: 35.44 kB / 0.5042 GB, free: 2.102 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5605, allocations: 0 / 0.5042 GB, free: 2.102 MB / 414.1 MB Notification: Performance of Templates: time 0.04039/0.6009, allocations: 23.85 MB / 0.5275 GB, free: 10.35 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.984874709509313]