Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.0009857/0.0009857, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001019/0.001019, allocations: 162.6 kB / 25.61 MB, free: 8.586 MB / 18.57 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 0.9102/0.9102, allocations: 177.1 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1822/0.1822, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.893e-05, allocations: 5.547 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002912/0.002931, allocations: 1.762 MB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004468, allocations: 0.9974 MB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.00457, allocations: 8 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.00489, allocations: 47.69 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.005262, allocations: 99.47 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.005509, allocations: 87.59 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.005706, allocations: 131.6 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.005807, allocations: 8 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.005921, allocations: 71.75 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.00603, allocations: 43.88 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.006049, allocations: 8 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.006167, allocations: 63.92 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.006226, allocations: 31.91 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.006272, allocations: 31.86 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.006481, allocations: 127.5 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.006483, allocations: 3.938 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006484, allocations: 0 / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.006488, allocations: 0 / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004403/0.006928, allocations: 467.7 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.006968, allocations: 12.03 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.007021, allocations: 16.89 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.007191, allocations: 164.4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.00721, allocations: 4.375 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.007233, allocations: 8.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.007362, allocations: 74.86 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.007375, allocations: 3.938 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.007385, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.007391, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.857e-05/0.00745, allocations: 23.97 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.007757, allocations: 292.2 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.007966, allocations: 67.03 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.00801, allocations: 31.81 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.008025, allocations: 3.938 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.008147, allocations: 77 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.008148, allocations: 4 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006111/0.008759, allocations: 225.3 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.008789, allocations: 59.34 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.008928, allocations: 234.3 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.008944, allocations: 29.7 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.008999, allocations: 155.1 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.009044, allocations: 51.62 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.009094, allocations: 39.3 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.009171, allocations: 0.5039 MB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.009205, allocations: 12 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.009255, allocations: 43.34 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.009343, allocations: 65.97 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.009344, allocations: 0 / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001868/0.009531, allocations: 117.5 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.009549, allocations: 8.016 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.009556, allocations: 8 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.009569, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.009676, allocations: 35.92 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.009682, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.009729, allocations: 4 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.009745, allocations: 4 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.009832, allocations: 164.5 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.009868, allocations: 19.91 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.01014, allocations: 157.5 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.01015, allocations: 8 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01015, allocations: 0 / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01015, allocations: 0 / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.01065, allocations: 449.2 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01065, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.01074, allocations: 23.94 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01074, allocations: 4 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01075, allocations: 7.984 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01076, allocations: 7.938 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01076, allocations: 64 / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.01099, allocations: 307 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.01101, allocations: 11.91 kB / 386.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.01104, allocations: 8 kB / 386.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.01112, allocations: 0 / 386.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.01116, allocations: 27.84 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.01118, allocations: 4 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.01125, allocations: 168.2 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01125, allocations: 0 / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01157, allocations: 35.92 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/0.01303, allocations: 488.8 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.0132, allocations: 75.56 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01321, allocations: 0 / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.01328, allocations: 54.45 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.01364, allocations: 34.83 kB / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.01407, allocations: 283.9 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.01411, allocations: 75.7 kB / 388.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.01418, allocations: 25.47 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.01428, allocations: 98.17 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01429, allocations: 4 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Templates: time 0.004208/0.01849, allocations: 2.631 MB / 390.8 MB, free: 11.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1089270706288517]