Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.00101/0.00101, allocations: 91.33 kB / 20.43 MB, free: 4.164 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.001158/0.001158, allocations: 169 kB / 23.8 MB, free: 0.7969 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8918/0.8918, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.207/0.207, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.145e-05, allocations: 13.28 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002149/0.002181, allocations: 1.734 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.00309, allocations: 0.7882 MB / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.003161, allocations: 7.938 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.003477, allocations: 47.75 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.003694, allocations: 51.77 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.003897, allocations: 91.62 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.004044, allocations: 95.7 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.00414, allocations: 12.22 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.004215, allocations: 51.77 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.004287, allocations: 27.91 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004307, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.004392, allocations: 43.92 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.004454, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.004504, allocations: 19.94 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.004682, allocations: 99.59 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.004686, allocations: 3.984 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004687, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004692, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004158/0.005108, allocations: 451.8 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.005149, allocations: 8.031 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.005202, allocations: 20.83 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.00536, allocations: 146.8 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.005382, allocations: 4.359 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.00541, allocations: 8.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005553, allocations: 58.94 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.005565, allocations: 3.938 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005576, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005586, allocations: 4 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.005621, allocations: 19.92 kB / 351.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.005906, allocations: 279.8 kB / 351.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006011, allocations: 55.16 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.006042, allocations: 23.55 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.006055, allocations: 8 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.006156, allocations: 68.98 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.006157, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004052/0.006562, allocations: 153.4 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.006592, allocations: 59.39 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006693, allocations: 230.6 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.006701, allocations: 25.7 kB / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.006735, allocations: 154.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.006758, allocations: 27.75 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.006786, allocations: 31.36 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.006829, allocations: 0.5001 MB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.00685, allocations: 8 kB / 353.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.00688, allocations: 35.73 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.006929, allocations: 55.23 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.00693, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.614e-05/0.007026, allocations: 93.56 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.007042, allocations: 4 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007048, allocations: 0 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.007064, allocations: 8.031 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.007139, allocations: 19.98 kB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007144, allocations: 0 / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.007172, allocations: 4 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.007179, allocations: 0 / 353.4 MB, free: 3.508 MB / 282.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 (10): * Single equations (assignments): 10 * 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 5.597e-05/0.007234, allocations: 164.5 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007249, allocations: 19.89 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.007396, allocations: 107.2 kB / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007398, allocations: 0 / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007402, allocations: 0 / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007406, allocations: 7.984 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.007624, allocations: 385 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.007626, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.007651, allocations: 15.94 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007654, allocations: 0 / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.007663, allocations: 4 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.007665, allocations: 4 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007667, allocations: 3.938 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.00777, allocations: 267.4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.00778, allocations: 11.94 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.007798, allocations: 8.031 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.007838, allocations: 4 kB / 354.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.007869, allocations: 3.984 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.007883, allocations: 4 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.007933, allocations: 171.8 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007933, allocations: 0 / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.008099, allocations: 27.92 kB / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0008214/0.00892, allocations: 436.8 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.009049, allocations: 59.55 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.009051, allocations: 0 / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.009086, allocations: 35.61 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.009317, allocations: 36.14 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.009664, allocations: 213.1 kB / 355.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.009696, allocations: 75.33 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.009728, allocations: 12.61 kB / 355.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.009758, allocations: 24.48 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 1.103e-06/0.009759, allocations: 0 / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Templates: time 0.003711/0.01347, allocations: 1.968 MB / 357.4 MB, free: 15.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.2563894651830196]