Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001068/0.001068, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001018/0.001018, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9355/0.9355, allocations: 177.1 MB / 206 MB, free: 4.504 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.167/0.167, allocations: 34.26 MB / 296.8 MB, free: 13.95 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.52e-07/8.52e-07, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.114e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001569/0.001581, allocations: 1.702 MB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005823/0.002163, allocations: 0.5491 MB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.0022, allocations: 0 / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.002479, allocations: 451 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.00272, allocations: 299.2 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.002886, allocations: 127.6 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003009, allocations: 183.6 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.111e-05/0.00307, allocations: 24.14 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.003144, allocations: 123.8 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.003267, allocations: 243.6 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.003278, allocations: 4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.003339, allocations: 51.86 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.003395, allocations: 95.62 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003418, allocations: 35.75 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003563, allocations: 207.2 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.003564, allocations: 0 / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003565, allocations: 4 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003569, allocations: 0 / 383.4 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.0003183/0.003887, allocations: 0.7124 MB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.328e-05/0.00391, allocations: 12.03 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.00394, allocations: 48.66 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004048, allocations: 252.8 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.004054, allocations: 384 / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.004065, allocations: 4.375 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.57e-05/0.004131, allocations: 70.88 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004137, allocations: 192 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004143, allocations: 12.12 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.004146, allocations: 0 / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.004168, allocations: 15.92 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.004366, allocations: 336.2 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.004465, allocations: 55.06 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.004479, allocations: 15.67 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.00449, allocations: 7.938 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.004501, allocations: 41.38 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.004502, allocations: 0 / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000408/0.00491, allocations: 257.1 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.004924, allocations: 59.34 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.00516, allocations: 0.6079 MB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.005166, allocations: 29.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.005253, allocations: 286.8 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.005271, allocations: 47.62 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.005297, allocations: 27.38 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.005361, allocations: 0.5663 MB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.005377, allocations: 11.98 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.005398, allocations: 8.562 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.842e-05/0.005437, allocations: 43.66 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.005437, allocations: 4 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.045e-05/0.005518, allocations: 121.3 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.005525, allocations: 4 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.005528, allocations: 0 / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.005534, allocations: 8 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.005585, allocations: 23.98 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.005587, allocations: 0 / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.005615, allocations: 7.984 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005619, allocations: 0 / 387 MB, free: 15.46 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 (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 4.614e-05/0.005666, allocations: 168.5 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.005695, allocations: 43.72 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.005805, allocations: 137.4 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005807, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005808, allocations: 4 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005811, allocations: 0 / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.006053, allocations: 465.1 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006054, allocations: 0 / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.006096, allocations: 19.98 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006098, allocations: 4 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006102, allocations: 0 / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006104, allocations: 7.984 kB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006105, allocations: 3.938 kB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.006195, allocations: 291.5 kB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.006215, allocations: 39.64 kB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.006229, allocations: 8 kB / 388.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.006275, allocations: 4 kB / 388.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.006295, allocations: 11.92 kB / 388.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006299, allocations: 4 kB / 388.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.006437, allocations: 394.7 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006437, allocations: 0 / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.006602, allocations: 35.88 kB / 388.6 MB, free: 13.76 MB / 314.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.0007492/0.007351, allocations: 444.8 kB / 389.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.34e-05/0.007425, allocations: 51.61 kB / 389.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007426, allocations: 0 / 389.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.007454, allocations: 39.59 kB / 389.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.00766, allocations: 32.78 kB / 389.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.008099, allocations: 0.6324 MB / 389.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.008147, allocations: 123.2 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.008181, allocations: 16.48 kB / 390 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.008225, allocations: 86.2 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008226, allocations: 3.938 kB / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of Templates: time 0.003348/0.01157, allocations: 1.925 MB / 392 MB, free: 10.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.9301470606587827]