Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.0008017/0.0008017, allocations: 91.33 kB / 20.42 MB, free: 4.137 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.0009114/0.0009114, allocations: 165 kB / 23.8 MB, free: 0.7695 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.8998/0.8998, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1512/0.1512, allocations: 32.37 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.652e-05, allocations: 6.25 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001988/0.002004, allocations: 1.874 MB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000998/0.003002, allocations: 0.8933 MB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.003081, allocations: 0 / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.003462, allocations: 231.2 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.003732, allocations: 167.3 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.003999, allocations: 147.6 kB / 351 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004201, allocations: 235.2 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.0043, allocations: 9.812 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004428, allocations: 143.6 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.004557, allocations: 147.7 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.004579, allocations: 11.94 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.00466, allocations: 43.92 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.004724, allocations: 59.77 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.004773, allocations: 43.78 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00496, allocations: 167.3 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004962, allocations: 0 / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004963, allocations: 0 / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.004968, allocations: 3.938 kB / 351.9 MB, free: 5.191 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004544/0.005422, allocations: 0.577 MB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.005459, allocations: 12.03 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.005524, allocations: 32.75 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.005745, allocations: 216.6 kB / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.005763, allocations: 4.375 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.005788, allocations: 8.375 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.005935, allocations: 102.3 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005945, allocations: 3.938 kB / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005957, allocations: 3.984 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.005964, allocations: 0 / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.006015, allocations: 31.92 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.006364, allocations: 494.6 kB / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.006503, allocations: 114.2 kB / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.006544, allocations: 35.36 kB / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006557, allocations: 0 / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.006666, allocations: 112.3 kB / 353.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.006667, allocations: 4 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005263/0.007193, allocations: 345.1 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.00722, allocations: 81.11 kB / 354 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.007417, allocations: 382.3 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007429, allocations: 33.7 kB / 354.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.007493, allocations: 203.1 kB / 354.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.007525, allocations: 47.64 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.007566, allocations: 43.36 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.00763, allocations: 0.5196 MB / 355.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.007669, allocations: 27.97 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.007719, allocations: 73.78 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.805e-05/0.007807, allocations: 106.8 kB / 355.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.007808, allocations: 0 / 355.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001496/0.007958, allocations: 161.3 kB / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.00797, allocations: 7.984 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007975, allocations: 4 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.007989, allocations: 0 / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.008083, allocations: 36.05 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.008093, allocations: 0 / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.008138, allocations: 11.98 kB / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.008147, allocations: 7.938 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.393e-05/0.008211, allocations: 172.5 kB / 355.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.008236, allocations: 35.81 kB / 355.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.008445, allocations: 180.2 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008448, allocations: 7.922 kB / 356.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008452, allocations: 4 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008456, allocations: 0 / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.008836, allocations: 0.6639 MB / 356.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008838, allocations: 0 / 356.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.008883, allocations: 16 kB / 356.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.008888, allocations: 4 kB / 356.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.008904, allocations: 7.938 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.008906, allocations: 4 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.008912, allocations: 7.875 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.009242, allocations: 464.6 kB / 357.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.009269, allocations: 31.86 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.009297, allocations: 8 kB / 357.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.00938, allocations: 4 kB / 357.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.009452, allocations: 19.91 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.009474, allocations: 8 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002323/0.009706, allocations: 270.9 kB / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009706, allocations: 0 / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.009941, allocations: 36 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009318/0.01087, allocations: 439.8 kB / 358 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.01109, allocations: 110.9 kB / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01109, allocations: 0 / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.01116, allocations: 55.59 kB / 358.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.01154, allocations: 65.05 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.01211, allocations: 433.1 kB / 358.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.671e-05/0.01218, allocations: 95.95 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.01225, allocations: 34.48 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.0123, allocations: 32.42 kB / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0123, allocations: 7.938 kB / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005015/0.01731, allocations: 2.929 MB / 361.8 MB, free: 10.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.210603636689484]