Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001239/0.001239, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001326/0.001326, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.9743/0.9743, allocations: 177.1 MB / 205 MB, free: 5.629 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.2587/0.2587, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.84e-05/4.044e-05, allocations: 2.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002737/0.002777, allocations: 1.657 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003859, allocations: 0.5492 MB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.00396, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.0043, allocations: 79.64 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.004638, allocations: 107.5 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.004946, allocations: 107.7 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.005132, allocations: 87.73 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.005247, allocations: 16 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.005334, allocations: 47.88 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005441, allocations: 55.86 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.005459, allocations: 4 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.005565, allocations: 43.92 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.005623, allocations: 19.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.005658, allocations: 23.91 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005838, allocations: 79.69 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.005841, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005842, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.005848, allocations: 8 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004482/0.006296, allocations: 451.8 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.006336, allocations: 8.031 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.006391, allocations: 20.84 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006595, allocations: 141.1 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.006606, allocations: 384 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.006639, allocations: 8.359 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.006776, allocations: 54.95 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.006786, allocations: 4.188 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006797, allocations: 4.125 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006804, allocations: 4 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.006843, allocations: 23.91 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.007201, allocations: 291.7 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.007278, allocations: 46.98 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.007305, allocations: 15.62 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.007328, allocations: 0 / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.00735, allocations: 37.39 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.007353, allocations: 3.984 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005922/0.007945, allocations: 173.3 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.007978, allocations: 55.41 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.008134, allocations: 242.4 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.008145, allocations: 25.7 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.008206, allocations: 150.9 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.008234, allocations: 27.75 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.008273, allocations: 31.36 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.008389, allocations: 0.5 MB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.008414, allocations: 8 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.008435, allocations: 19.98 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.008487, allocations: 39.69 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008488, allocations: 0 / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.621e-05/0.008584, allocations: 73.59 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.008603, allocations: 10.34 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.008609, allocations: 3.938 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.008631, allocations: 0 / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.008732, allocations: 15.98 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008739, allocations: 3.938 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.008759, allocations: 4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008766, allocations: 4 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.729e-05/0.008844, allocations: 168.5 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.008869, allocations: 19.91 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.009023, allocations: 79.45 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.009026, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.009029, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.009034, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.009346, allocations: 381 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.009348, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.009393, allocations: 19.92 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.009396, allocations: 0 / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.009404, allocations: 12.03 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.009406, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009407, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.009545, allocations: 239.5 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.009554, allocations: 7.953 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.00957, allocations: 7.984 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.009605, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.009648, allocations: 15.86 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.009654, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.163e-05/0.009736, allocations: 167.2 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009736, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.009916, allocations: 23.94 kB / 384.5 MB, free: 11.86 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009885/0.0109, allocations: 450 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01103, allocations: 39.61 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.01104, allocations: 4 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.01107, allocations: 27.67 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.0113, allocations: 19.94 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.01171, allocations: 245.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.01176, allocations: 67.34 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.01181, allocations: 21 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.01184, allocations: 20.5 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01184, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003324/0.01516, allocations: 1.401 MB / 386.8 MB, free: 9.691 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.2718200623057783]