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.001485/0.001485, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001064/0.001064, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 1.085/1.085, allocations: 158.6 MB / 186 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.1396/0.1396, allocations: 32.37 MB / 270.7 MB, free: 14.78 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 2.004e-06/2.004e-06, allocations: 3.938 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.182e-05, allocations: 4.281 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002117/0.002139, allocations: 1.878 MB / 349.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003288, allocations: 0.8777 MB / 350.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.003394, allocations: 0 / 350.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.003983, allocations: 231.2 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.004446, allocations: 171.3 kB / 350.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.004863, allocations: 147.6 kB / 351 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.005188, allocations: 239.2 kB / 351.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.005329, allocations: 9.812 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.005501, allocations: 139.6 kB / 351.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.005673, allocations: 151.6 kB / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.0057, allocations: 8 kB / 351.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.651e-05/0.005796, allocations: 47.92 kB / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.005876, allocations: 55.77 kB / 351.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.005941, allocations: 43.78 kB / 351.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.006206, allocations: 167.3 kB / 351.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006208, allocations: 0 / 351.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.00621, allocations: 7.938 kB / 351.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.006216, allocations: 4 kB / 351.9 MB, free: 5.535 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.000601/0.006817, allocations: 0.5692 MB / 352.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.006864, allocations: 12.03 kB / 352.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.006953, allocations: 36.75 kB / 352.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.007232, allocations: 212.6 kB / 352.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.007256, allocations: 4.375 kB / 352.7 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.007279, allocations: 8.375 kB / 352.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.007472, allocations: 106.2 kB / 352.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.007486, allocations: 3.938 kB / 352.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007499, allocations: 4 kB / 352.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.00751, allocations: 4 kB / 352.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.007581, allocations: 31.84 kB / 352.9 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.008032, allocations: 490.7 kB / 353.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.008211, allocations: 114.2 kB / 353.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.008278, allocations: 31.38 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.008298, allocations: 7.984 kB / 353.5 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.008472, allocations: 116.3 kB / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.008474, allocations: 0 / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006924/0.009166, allocations: 341.2 kB / 354 MB, free: 3.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.009201, allocations: 77.11 kB / 354 MB, free: 3.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.009512, allocations: 386.2 kB / 354.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.009529, allocations: 33.7 kB / 354.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.009623, allocations: 203.1 kB / 354.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.00967, allocations: 47.64 kB / 354.7 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.009722, allocations: 43.36 kB / 354.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.009815, allocations: 0.5235 MB / 355.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.009857, allocations: 24.05 kB / 355.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.009907, allocations: 77.77 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.01, allocations: 106.8 kB / 355.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01, allocations: 0 / 355.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002417/0.01025, allocations: 157.4 kB / 355.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01026, allocations: 8 kB / 355.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01027, allocations: 64 / 355.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01028, allocations: 4 kB / 355.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01042, allocations: 31.98 kB / 355.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01042, allocations: 7.922 kB / 355.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.01049, allocations: 8 kB / 355.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01051, allocations: 8 kB / 355.7 MB, free: 1.469 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 8.801e-05/0.01059, allocations: 164.5 kB / 355.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.01065, allocations: 39.8 kB / 355.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.01094, allocations: 184.1 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01095, allocations: 4 kB / 356.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01095, allocations: 4 kB / 356.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01096, allocations: 3.984 kB / 356.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.01149, allocations: 0.66 MB / 356.7 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01149, allocations: 0 / 356.7 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.01156, allocations: 19.98 kB / 356.7 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01156, allocations: 4 kB / 356.7 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01158, allocations: 8 kB / 356.8 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.01158, allocations: 3.938 kB / 356.8 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01158, allocations: 3.938 kB / 356.8 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.01191, allocations: 470.3 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.01194, allocations: 23.81 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.01199, allocations: 11.98 kB / 357.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01211, allocations: 4 kB / 357.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.01217, allocations: 27.84 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.01219, allocations: 4 kB / 357.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.01242, allocations: 271 kB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01242, allocations: 0 / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.01277, allocations: 32 kB / 357.6 MB, free: 15.45 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.001087/0.01386, allocations: 443.9 kB / 358 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.0141, allocations: 107.5 kB / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0141, allocations: 0 / 358.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.0142, allocations: 51.61 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.01457, allocations: 61.09 kB / 358.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.01513, allocations: 437.3 kB / 358.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.19e-05/0.01519, allocations: 99.89 kB / 358.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.01525, allocations: 34.22 kB / 358.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.0153, allocations: 32.42 kB / 358.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0153, allocations: 0 / 358.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Templates: time 0.005117/0.02042, allocations: 2.936 MB / 361.8 MB, free: 11.33 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.390876900171861]