Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.001185/0.001185, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001202/0.001202, allocations: 173 kB / 24.06 MB, free: 456 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.038/1.038, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1547/0.1547, allocations: 32.38 MB / 270.7 MB, free: 14.62 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.105e-05, allocations: 6.25 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003311/0.003342, allocations: 1.68 MB / 349.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004637, allocations: 0.7804 MB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.004739, allocations: 0 / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.005158, allocations: 55.75 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.005441, allocations: 59.69 kB / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.005762, allocations: 87.7 kB / 350.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.005997, allocations: 91.69 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.006061, allocations: 0 / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.006223, allocations: 59.77 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006338, allocations: 15.92 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.006369, allocations: 4 kB / 351 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.006484, allocations: 35.92 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.006566, allocations: 27.91 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.006623, allocations: 19.88 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.006861, allocations: 95.66 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.006867, allocations: 11.94 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.006869, allocations: 0 / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.006877, allocations: 0 / 351.2 MB, free: 6.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006468/0.007524, allocations: 463.7 kB / 351.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.007585, allocations: 12.03 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.007639, allocations: 12.84 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.007857, allocations: 156.4 kB / 351.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.007884, allocations: 384 / 351.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.007897, allocations: 4.375 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.00808, allocations: 54.94 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.008093, allocations: 11.94 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.008102, allocations: 0 / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.008112, allocations: 3.984 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.008151, allocations: 11.92 kB / 351.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.008337, allocations: 117.3 kB / 352 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.008464, allocations: 47.09 kB / 352.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.008496, allocations: 15.69 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.008522, allocations: 0 / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.008699, allocations: 68.98 kB / 352.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.008701, allocations: 4 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002325/0.008933, allocations: 85.52 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.008968, allocations: 55.41 kB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.009116, allocations: 265.3 kB / 352.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.00913, allocations: 29.7 kB / 352.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.009182, allocations: 158.8 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.009218, allocations: 23.83 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.009255, allocations: 19.38 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.009329, allocations: 0.5079 MB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.009351, allocations: 4 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.009386, allocations: 35.3 kB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.009439, allocations: 35.36 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-06/0.009443, allocations: 0 / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.009554, allocations: 73.53 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.009571, allocations: 8 kB / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009577, allocations: 0 / 353.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.009593, allocations: 7.875 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.009676, allocations: 8 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.009682, allocations: 3.984 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.009723, allocations: 8.031 kB / 353.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.009729, allocations: 0 / 353.5 MB, free: 3.566 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 (7): * Single equations (assignments): 7 * 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 7.476e-05/0.009804, allocations: 160.6 kB / 353.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.009825, allocations: 19.84 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01001, allocations: 78.83 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01002, allocations: 8.312 kB / 353.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01002, allocations: 0 / 353.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.01003, allocations: 3.984 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.2e-05/0.01011, allocations: 125.2 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01011, allocations: 0 / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.01014, allocations: 8 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01015, allocations: 0 / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.01015, allocations: 7.984 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01016, allocations: 0 / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01016, allocations: 0 / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.01024, allocations: 116.2 kB / 354 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.01026, allocations: 15.89 kB / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.01027, allocations: 4 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.0103, allocations: 4 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.01033, allocations: 4 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.01034, allocations: 7.922 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.0104, allocations: 188.4 kB / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-07/0.0104, allocations: 0 / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00015/0.01055, allocations: 19.94 kB / 354.2 MB, free: 2.742 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008384/0.01139, allocations: 392.5 kB / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01149, allocations: 35.61 kB / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01149, allocations: 0 / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.01152, allocations: 27.61 kB / 354.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.01172, allocations: 27.84 kB / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.01207, allocations: 229.8 kB / 354.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.01211, allocations: 71.22 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.01214, allocations: 20.8 kB / 355 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.01219, allocations: 86.19 kB / 355.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01219, allocations: 0 / 355.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003592/0.01578, allocations: 1.771 MB / 356.9 MB, free: 156 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.228061934001744]