Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001998/0.001998, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002187/0.002187, allocations: 169.3 kB / 24.28 MB, free: 148 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.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3502/0.3502, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.66e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003233/0.003259, allocations: 1.678 MB / 379 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.00457, allocations: 0.5764 MB / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.004634, allocations: 0 / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.005335, allocations: 463 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.005896, allocations: 295.1 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.006352, allocations: 175.5 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.006643, allocations: 187.6 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.006743, allocations: 16.2 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.006949, allocations: 127.7 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.007256, allocations: 251.6 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.007287, allocations: 4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.007419, allocations: 51.86 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.007539, allocations: 87.7 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.00761, allocations: 39.73 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.007988, allocations: 259 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00799, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007991, allocations: 8 kB / 381.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.007996, allocations: 0 / 381.5 MB, free: 14.76 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009581/0.008955, allocations: 0.7278 MB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.008993, allocations: 8.031 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.009096, allocations: 52.61 kB / 382.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.009433, allocations: 248.9 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.009446, allocations: 4.375 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.009472, allocations: 8.328 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.009653, allocations: 62.17 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.009666, allocations: 192 / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.009678, allocations: 8.125 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.009685, allocations: 4 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.009809, allocations: 31.91 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.01057, allocations: 483.6 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.01081, allocations: 58.98 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.01088, allocations: 23.8 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.0109, allocations: 0 / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.01093, allocations: 41.39 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.01093, allocations: 4 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001202/0.01213, allocations: 372.9 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.01218, allocations: 59.39 kB / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.01299, allocations: 0.6746 MB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.01302, allocations: 33.7 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.01331, allocations: 302.7 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.01336, allocations: 39.69 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.01343, allocations: 39.36 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003616/0.0138, allocations: 0.5742 MB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.0139, allocations: 27.97 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.014, allocations: 31.92 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.01423, allocations: 75.66 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01423, allocations: 4 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003743/0.01461, allocations: 161.5 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01463, allocations: 8 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01463, allocations: 0 / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01465, allocations: 0 / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01476, allocations: 23.98 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01477, allocations: 0 / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.01483, allocations: 11.92 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01484, allocations: 4 kB / 385.6 MB, free: 10.39 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 (11): * Single equations (assignments): 11 * 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.000153/0.015, allocations: 172.5 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.01508, allocations: 47.72 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.0155, allocations: 157.5 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.0155, allocations: 0 / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.0155, allocations: 0 / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01551, allocations: 0 / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/0.01649, allocations: 0.6254 MB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0165, allocations: 0 / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.0166, allocations: 23.98 kB / 386.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.0166, allocations: 0 / 386.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01661, allocations: 4 kB / 386.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.01662, allocations: 3.938 kB / 386.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01662, allocations: 3.938 kB / 386.7 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.01706, allocations: 322.9 kB / 387 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.01712, allocations: 39.73 kB / 387 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.01715, allocations: 8.188 kB / 387 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.01726, allocations: 15.94 kB / 387.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.01731, allocations: 7.984 kB / 387.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01732, allocations: 4 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.01784, allocations: 450.7 kB / 387.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01784, allocations: 0 / 387.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.01814, allocations: 35.92 kB / 387.5 MB, free: 8.398 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003305/0.02145, allocations: 0.4887 MB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.0218, allocations: 87.58 kB / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02181, allocations: 0 / 388.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.02195, allocations: 63.72 kB / 388.2 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.02236, allocations: 39.89 kB / 388.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.02351, allocations: 0.6544 MB / 388.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.02377, allocations: 212.8 kB / 389.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02387, allocations: 36.39 kB / 389.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.02393, allocations: 24.48 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02393, allocations: 0 / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of Templates: time 0.006346/0.03028, allocations: 1.786 MB / 390.9 MB, free: 5.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.89569454989396]