Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.00101/0.00101, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001203/0.001203, allocations: 169.7 kB / 24.84 MB, free: 8.934 MB / 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.058/1.058, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1406/0.1406, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.984 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.924e-05, allocations: 6.25 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002269/0.002298, allocations: 1.584 MB / 350.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000533/0.002831, allocations: 319.4 kB / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.002906, allocations: 0 / 350.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.003266, allocations: 71.7 kB / 350.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.003465, allocations: 63.69 kB / 350.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.003668, allocations: 63.84 kB / 351 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.003805, allocations: 71.81 kB / 351.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.003901, allocations: 11.98 kB / 351.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.003959, allocations: 43.83 kB / 351.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.004041, allocations: 39.91 kB / 351.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.004058, allocations: 4 kB / 351.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.004135, allocations: 35.91 kB / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.004176, allocations: 15.92 kB / 351.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.004197, allocations: 11.94 kB / 351.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004334, allocations: 67.75 kB / 351.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004336, allocations: 0 / 351.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004338, allocations: 0 / 351.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.004343, allocations: 0 / 351.3 MB, free: 6.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003181/0.004661, allocations: 432 kB / 351.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.004697, allocations: 8.031 kB / 351.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.004733, allocations: 16.84 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.004834, allocations: 140.3 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004845, allocations: 8.312 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.00486, allocations: 384 / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.004949, allocations: 58.95 kB / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004958, allocations: 192 / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.004965, allocations: 8.109 kB / 352 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00497, allocations: 0 / 352 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.004989, allocations: 4 kB / 352 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.005221, allocations: 252.4 kB / 352.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.005359, allocations: 43.05 kB / 352.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.005373, allocations: 11.69 kB / 352.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.005391, allocations: 0 / 352.3 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.005408, allocations: 41.33 kB / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005409, allocations: 0 / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003035/0.005712, allocations: 97.75 kB / 352.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.005734, allocations: 55.34 kB / 352.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.005814, allocations: 214.9 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.00582, allocations: 33.7 kB / 352.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.005854, allocations: 146.8 kB / 352.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.005873, allocations: 23.84 kB / 352.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.005897, allocations: 19.38 kB / 352.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.00595, allocations: 0.4962 MB / 353.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005963, allocations: 4 kB / 353.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.005974, allocations: 4 kB / 353.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.005999, allocations: 23.67 kB / 353.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006001, allocations: 3.984 kB / 353.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.402e-05/0.006065, allocations: 57.53 kB / 353.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006077, allocations: 8 kB / 353.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006082, allocations: 4.047 kB / 353.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006091, allocations: 3.984 kB / 353.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.006141, allocations: 11.98 kB / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.006144, allocations: 0 / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.006163, allocations: 4.25 kB / 353.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.006166, allocations: 0 / 353.5 MB, free: 4.367 MB / 282.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 (5): * Single equations (assignments): 5 * 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 4.548e-05/0.006212, allocations: 160.5 kB / 353.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.006232, allocations: 15.89 kB / 353.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.301e-05/0.006315, allocations: 70.08 kB / 353.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006318, allocations: 0 / 353.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006319, allocations: 11.94 kB / 353.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006322, allocations: 0 / 353.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.00649, allocations: 294 kB / 354 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006491, allocations: 0 / 354 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.006518, allocations: 11.98 kB / 354.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00652, allocations: 0 / 354.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006524, allocations: 0 / 354.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006527, allocations: 4 kB / 354.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006529, allocations: 0 / 354.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.974e-05/0.006598, allocations: 215.7 kB / 354.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006605, allocations: 7.953 kB / 354.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.006614, allocations: 8 kB / 354.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.006643, allocations: 0 / 354.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.006668, allocations: 7.984 kB / 354.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.00667, allocations: 0 / 354.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.006709, allocations: 159.1 kB / 354.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006709, allocations: 0 / 354.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.006862, allocations: 8 kB / 354.5 MB, free: 3.344 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007611/0.007623, allocations: 382.3 kB / 354.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.007702, allocations: 31.61 kB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007704, allocations: 0 / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.68e-05/0.007721, allocations: 15.69 kB / 354.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.007937, allocations: 25.17 kB / 354.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.008204, allocations: 186.2 kB / 355.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.008232, allocations: 67.33 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.008259, allocations: 4 kB / 355.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.008304, allocations: 82.19 kB / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008305, allocations: 0 / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of Templates: time 0.003065/0.01137, allocations: 1.285 MB / 356.5 MB, free: 1.324 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.3206804948858917]