Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.000946/0.000946, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001002/0.001002, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 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.8693/0.8693, allocations: 177.1 MB / 206 MB, free: 4.496 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.1371/0.1371, allocations: 34.27 MB / 296.8 MB, free: 13.91 MB / 282.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.436e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001699/0.001713, allocations: 1.699 MB / 381 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005456/0.002259, allocations: 0.5414 MB / 381.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.002302, allocations: 0 / 381.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.002622, allocations: 459 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.002884, allocations: 295.2 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.003061, allocations: 123.6 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003195, allocations: 175.6 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.146e-05/0.003267, allocations: 15.94 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.003347, allocations: 131.7 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.003476, allocations: 243.6 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003488, allocations: 4 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.003552, allocations: 47.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.003611, allocations: 87.7 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.003637, allocations: 39.73 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.003783, allocations: 207.1 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003785, allocations: 4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003786, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003789, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.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.000346/0.004135, allocations: 0.7086 MB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.505e-05/0.00416, allocations: 8.031 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.004196, allocations: 44.66 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004317, allocations: 248.8 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004325, allocations: 8.312 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.004339, allocations: 4.375 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.004411, allocations: 66.88 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.004419, allocations: 192 / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.004425, allocations: 8.125 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00443, allocations: 0 / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.004451, allocations: 12 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.004663, allocations: 344.2 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.004707, allocations: 47.02 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.00472, allocations: 15.62 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.004731, allocations: 4.031 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.004742, allocations: 37.48 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004743, allocations: 0 / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003751/0.005118, allocations: 197.1 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.005133, allocations: 55.41 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.005369, allocations: 0.5962 MB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.005374, allocations: 29.7 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.005459, allocations: 302.6 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.005476, allocations: 31.73 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.0055, allocations: 23.36 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.005559, allocations: 0.5585 MB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.00557, allocations: 8 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.005582, allocations: 11.98 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.005614, allocations: 35.61 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.005614, allocations: 0 / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.15e-05/0.005686, allocations: 101.4 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.005694, allocations: 8 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.005698, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.005704, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.005754, allocations: 15.98 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.005756, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.00578, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005785, allocations: 8 kB / 386.8 MB, free: 15.61 MB / 314.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 5.067e-05/0.005836, allocations: 172.4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.005865, allocations: 43.72 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005969, allocations: 105.5 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005971, allocations: 0 / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005972, allocations: 0 / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005974, allocations: 3.984 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.006204, allocations: 433.8 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006205, allocations: 32 / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.006239, allocations: 27.94 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.00624, allocations: 3.984 kB / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.006245, allocations: 0 / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006246, allocations: 0 / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006247, allocations: 4 kB / 387.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.57e-05/0.006323, allocations: 263.3 kB / 387.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.00634, allocations: 31.72 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.006355, allocations: 8 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.006394, allocations: 3.984 kB / 387.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.006413, allocations: 4 kB / 387.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.006417, allocations: 19.86 kB / 387.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.006545, allocations: 390.7 kB / 388.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006545, allocations: 0 / 388.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.006714, allocations: 31.98 kB / 388.4 MB, free: 14.02 MB / 314.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.0008517/0.007565, allocations: 437.6 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.007636, allocations: 35.66 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007637, allocations: 0 / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.007657, allocations: 31.61 kB / 388.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.007873, allocations: 32.86 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.008298, allocations: 0.5976 MB / 389.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.764e-05/0.008346, allocations: 127.1 kB / 389.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.008376, allocations: 17.02 kB / 389.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.008416, allocations: 78.2 kB / 389.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008417, allocations: 0 / 389.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003393/0.01181, allocations: 1.769 MB / 391.5 MB, free: 11.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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: 2.969795203767717]