Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001469/0.001469, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001539/0.001539, allocations: 165 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.924/0.924, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2472/0.2472, allocations: 32.8 MB / 294.3 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.054e-05, allocations: 9.484 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001936/0.001957, allocations: 1.685 MB / 377.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.002651, allocations: 0.5376 MB / 378.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.002705, allocations: 11.94 kB / 378.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.002956, allocations: 95.61 kB / 378.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.003209, allocations: 115.5 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.003415, allocations: 99.62 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.00356, allocations: 95.8 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.003651, allocations: 19.92 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.003715, allocations: 59.81 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.003802, allocations: 59.86 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.003816, allocations: 4 kB / 378.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.003889, allocations: 47.86 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.003933, allocations: 27.92 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.003963, allocations: 23.91 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.004109, allocations: 103.6 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004111, allocations: 0 / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004111, allocations: 0 / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004115, allocations: 4 kB / 379 MB, free: 1.652 MB / 346.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.0003786/0.004494, allocations: 463.7 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004527, allocations: 12.03 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.004568, allocations: 20.84 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.004693, allocations: 156.4 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.0047, allocations: 384 / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.00472, allocations: 8.375 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.004825, allocations: 66.94 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.004834, allocations: 192 / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.004846, allocations: 8.125 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004853, allocations: 11.94 kB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.004893, allocations: 23.95 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.005172, allocations: 323.6 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.005247, allocations: 58.92 kB / 380.1 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.005272, allocations: 19.8 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.005289, allocations: 3.938 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.005308, allocations: 41.38 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.005309, allocations: 0 / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000533/0.005842, allocations: 241.6 kB / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.005867, allocations: 51.41 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.006011, allocations: 254.7 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.006021, allocations: 29.7 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.006074, allocations: 158.9 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.006102, allocations: 47.73 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.006135, allocations: 31.36 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003372/0.006472, allocations: 0.504 MB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.0065, allocations: 19.98 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.006524, allocations: 15.98 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.006585, allocations: 55.44 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006585, allocations: 0 / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001074/0.006693, allocations: 113.5 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.006703, allocations: 4 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.006707, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.006718, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.006795, allocations: 23.98 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.0068, allocations: 4 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.006819, allocations: 0 / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.006826, allocations: 7.938 kB / 381.8 MB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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.063e-05/0.006887, allocations: 172.5 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.006911, allocations: 27.86 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.007056, allocations: 111.1 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007059, allocations: 4 kB / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007061, allocations: 0 / 382.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007066, allocations: 7.922 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.007371, allocations: 428.9 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007372, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.00742, allocations: 27.92 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007423, allocations: 4.031 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.007433, allocations: 15.92 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007434, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007435, allocations: 0 / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007566, allocations: 255.5 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007578, allocations: 15.91 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.00759, allocations: 7.875 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.007623, allocations: 4 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.007651, allocations: 11.98 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.007657, allocations: 7.984 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.007728, allocations: 185.1 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007728, allocations: 0 / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.007886, allocations: 31.88 kB / 383 MB, free: 13.34 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 (13): * Single equations (assignments): 13 * 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.0008328/0.008719, allocations: 438 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.008833, allocations: 67.59 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.008834, allocations: 0 / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.008874, allocations: 51.53 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.009072, allocations: 24.03 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.009399, allocations: 276.7 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.009438, allocations: 71.33 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.395e-05/0.009472, allocations: 12.5 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.009504, allocations: 20.48 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009505, allocations: 0 / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003058/0.01256, allocations: 1.684 MB / 385.7 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.001039331778884]