Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.002471/0.002471, allocations: 83.69 kB / 20.96 MB, free: 3.441 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.002949/0.002949, allocations: 165.3 kB / 24.27 MB, free: 132 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 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3841/0.3841, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.424e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003674/0.003708, allocations: 1.63 MB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.005115, allocations: 0.5259 MB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.0052, allocations: 4 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.005666, allocations: 123.6 kB / 377.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.006157, allocations: 131.4 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.006547, allocations: 91.69 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.006806, allocations: 107.7 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.00692, allocations: 11.98 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.007075, allocations: 51.88 kB / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.007266, allocations: 91.81 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.007289, allocations: 4 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.007423, allocations: 47.91 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.007508, allocations: 31.86 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.007542, allocations: 7.938 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.007807, allocations: 119.6 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00781, allocations: 4 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007811, allocations: 3.938 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007817, allocations: 0 / 378.3 MB, free: 1.973 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006699/0.008487, allocations: 479.3 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.00853, allocations: 8.031 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.008597, allocations: 16.84 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.00885, allocations: 148.4 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.008863, allocations: 4.375 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.008884, allocations: 384 / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.009046, allocations: 54.23 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.009058, allocations: 4.188 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.00907, allocations: 8.062 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.009076, allocations: 4 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.009168, allocations: 19.98 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.009638, allocations: 315.7 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.009765, allocations: 54.98 kB / 379.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.009819, allocations: 19.62 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.009843, allocations: 0 / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.009891, allocations: 37.39 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.009892, allocations: 3.938 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008762/0.01077, allocations: 217.4 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.01082, allocations: 51.41 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.01117, allocations: 290.8 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01119, allocations: 29.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.01135, allocations: 174.8 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01139, allocations: 27.75 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.01145, allocations: 27.36 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002983/0.01175, allocations: 0.5157 MB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.01184, allocations: 28.05 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.01191, allocations: 23.92 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01205, allocations: 59.91 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01205, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002201/0.01227, allocations: 97.56 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.0123, allocations: 8 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.0123, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.01233, allocations: 4 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01244, allocations: 15.94 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01244, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.01249, allocations: 7.984 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.0125, allocations: 4 kB / 381 MB, free: 15.05 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 0.000145/0.01265, allocations: 164.5 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.01269, allocations: 15.91 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.01299, allocations: 111.1 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.013, allocations: 4 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.013, allocations: 4 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01301, allocations: 3.984 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.01365, allocations: 425 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01365, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.01374, allocations: 23.92 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01374, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01375, allocations: 7.938 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01375, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01375, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.0141, allocations: 267.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01412, allocations: 11.91 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01414, allocations: 7.922 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.01421, allocations: 8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.01426, allocations: 7.922 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.01427, allocations: 4 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.01448, allocations: 200.1 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01448, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.01475, allocations: 16 kB / 382.2 MB, free: 13.71 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.003531/0.01829, allocations: 499.5 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.01856, allocations: 67.58 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01856, allocations: 0 / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01868, allocations: 51.61 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01902, allocations: 23.94 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.01971, allocations: 279.1 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.01983, allocations: 101.1 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.01989, allocations: 12.78 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.01994, allocations: 16.5 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01994, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Templates: time 0.005552/0.02549, allocations: 1.395 MB / 384.6 MB, free: 11.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.932534986059181]