Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001886/0.001886, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002056/0.002056, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.001e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.01113/0.01116, allocations: 4.817 MB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.01557, allocations: 1.275 MB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.01612, allocations: 15.94 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.01662, allocations: 122.7 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009276/0.01754, allocations: 273.5 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01869, allocations: 311.4 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.02074, allocations: 1.145 MB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.02127, allocations: 175 kB / 280.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.02268, allocations: 0.6119 MB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009296/0.02361, allocations: 363 kB / 281.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.02385, allocations: 95.94 kB / 281.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.02425, allocations: 123.9 kB / 281.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.02457, allocations: 199.3 kB / 281.7 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.02519, allocations: 319.2 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.02729, allocations: 1.09 MB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.0273, allocations: 4 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.02731, allocations: 4 kB / 283.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.02732, allocations: 0 / 283.1 MB, free: 6.828 MB / 266.7 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.003992/0.03131, allocations: 1.325 MB / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.03136, allocations: 11.98 kB / 284.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.03179, allocations: 148.3 kB / 284.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.03298, allocations: 440.1 kB / 285 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.03306, allocations: 49.69 kB / 285.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.03327, allocations: 68.36 kB / 285.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.03576, allocations: 0.7416 MB / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.03579, allocations: 4.141 kB / 285.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.0359, allocations: 24.38 kB / 285.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.03593, allocations: 19.94 kB / 285.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.03832, allocations: 0.6142 MB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/0.04471, allocations: 2.008 MB / 288.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.04664, allocations: 0.5054 MB / 289.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009838/0.04763, allocations: 284.9 kB / 289.3 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.0477, allocations: 8.5 kB / 289.4 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1258/0.1735, allocations: 0.5485 MB / 289.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.184e-06/0.1735, allocations: 0 / 289.9 MB, free: 27.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.05639/0.2299, allocations: 11.82 MB / 301.7 MB, free: 24.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.23, allocations: 141.5 kB / 301.9 MB, free: 24.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.2306, allocations: 0.6587 MB / 302.5 MB, free: 23.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2307, allocations: 41.7 kB / 302.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.231, allocations: 472.8 kB / 303 MB, free: 23.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.2313, allocations: 348.4 kB / 303.4 MB, free: 23.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.2317, allocations: 212.2 kB / 303.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2318, allocations: 0.6016 MB / 304.2 MB, free: 22.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.2332, allocations: 0.685 MB / 304.9 MB, free: 21.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.2346, allocations: 1.105 MB / 306 MB, free: 20.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.2374, allocations: 1.658 MB / 307.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.2374, allocations: 4 kB / 307.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01906/0.2564, allocations: 4.467 MB / 312.1 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.2565, allocations: 59.41 kB / 312.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.2565, allocations: 8 kB / 312.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03076/0.2873, allocations: 5.652 MB / 317.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.2878, allocations: 131.8 kB / 317.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.2936, allocations: 3.535 MB / 321.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.2951, allocations: 119.9 kB / 321.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.2953, allocations: 47.97 kB / 321.6 MB, free: 4.375 MB / 266.7 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.0004433/0.2957, allocations: 276.3 kB / 321.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.296, allocations: 119.5 kB / 322 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.3136, allocations: 4.083 MB / 326.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3136, allocations: 8 kB / 326.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3136, allocations: 0.625 kB / 326.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/0.3136, allocations: 3.984 kB / 326.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.3155, allocations: 0.8552 MB / 327 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.3155, allocations: 3.938 kB / 327 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.3159, allocations: 73.19 kB / 327 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03428/0.3502, allocations: 5.584 MB / 332.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/0.3504, allocations: 27.91 kB / 332.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006719/0.3571, allocations: 3.466 MB / 336.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3571, allocations: 0 / 336.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02248/0.3796, allocations: 4.91 MB / 341 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.3799, allocations: 75.5 kB / 341.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/0.3804, allocations: 16 kB / 341.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.3816, allocations: 108.3 kB / 341.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.3819, allocations: 108.8 kB / 341.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/0.382, allocations: 27.98 kB / 341.4 MB, free: 500 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000576/0.3826, allocations: 426.8 kB / 341.8 MB, free: 72 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3826, allocations: 3.609 kB / 341.8 MB, free: 72 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000882/0.3834, allocations: 264 kB / 342 MB, free: 15.81 MB / 298.7 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.0002873/0.3837, allocations: 128.3 kB / 342.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006355/0.3901, allocations: 2.01 MB / 344.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3901, allocations: 1.375 kB / 344.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.3934, allocations: 0.9991 MB / 345.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.3941, allocations: 148.9 kB / 345.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.398, allocations: 1.726 MB / 347 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3984, allocations: 357.7 kB / 347.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.3986, allocations: 57.05 kB / 347.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3988, allocations: 36.5 kB / 347.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3988, allocations: 0 / 347.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of Templates: time 0.03397/0.4327, allocations: 19.04 MB / 366.5 MB, free: 7.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.70613906707149]