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.0009773/0.0009773, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001113/0.001113, allocations: 165 kB / 24.99 MB, free: 8.328 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 1.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.3005/0.3005, allocations: 34.26 MB / 296.1 MB, free: 0.7734 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.[0-9,]+.|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.[0-9,]+.|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 2.295e-06/2.295e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.259e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003536/0.003569, allocations: 1.716 MB / 379.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004666, allocations: 0.5724 MB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.004752, allocations: 8 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.005433, allocations: 463 kB / 380.8 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.006004, allocations: 295.1 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.006499, allocations: 175.5 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.00681, allocations: 183.6 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006934, allocations: 16.22 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.007129, allocations: 127.8 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.007421, allocations: 251.5 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.007444, allocations: 4 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.007571, allocations: 47.92 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.007691, allocations: 95.62 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.00775, allocations: 35.75 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.008102, allocations: 215.1 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.008106, allocations: 0 / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.008107, allocations: 0 / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.008113, allocations: 3.938 kB / 382.2 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.0009535/0.009067, allocations: 0.7048 MB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.00912, allocations: 16.03 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.009227, allocations: 52.61 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.009547, allocations: 248.8 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.009561, allocations: 4.375 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.009586, allocations: 384 / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.009761, allocations: 74.88 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.009775, allocations: 4.172 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.009788, allocations: 4.125 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.009797, allocations: 0 / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.009848, allocations: 12 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.01046, allocations: 447.6 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.0107, allocations: 54.97 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.01073, allocations: 15.8 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01076, allocations: 4 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.01079, allocations: 37.39 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.01079, allocations: 0 / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000962/0.01175, allocations: 340.9 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.01179, allocations: 51.41 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.01245, allocations: 0.6315 MB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.01247, allocations: 29.7 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.01268, allocations: 286.8 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.01273, allocations: 39.69 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.01278, allocations: 27.38 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.013, allocations: 0.5625 MB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.01304, allocations: 8 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.01309, allocations: 19.98 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.01319, allocations: 63.55 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01319, allocations: 0 / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001951/0.01338, allocations: 125.6 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.0134, allocations: 4 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.0134, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01342, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01353, allocations: 23.98 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01353, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.01359, allocations: 11.98 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.0136, allocations: 4 kB / 386.1 MB, free: 10.68 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.0001079/0.01371, allocations: 168.5 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.01377, allocations: 47.72 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.01426, allocations: 137.5 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01426, allocations: 0 / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01427, allocations: 0 / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01427, allocations: 0 / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.01505, allocations: 0.5473 MB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.01505, allocations: 0 / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.01514, allocations: 28.23 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01514, allocations: 0 / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.01516, allocations: 15.94 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.01517, allocations: 3.938 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01517, allocations: 0 / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.01543, allocations: 291 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.01547, allocations: 39.67 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.0155, allocations: 0 / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.0156, allocations: 15.92 kB / 387.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.01565, allocations: 11.92 kB / 387.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01566, allocations: 8 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004098/0.01607, allocations: 434.8 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01607, allocations: 0 / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.01642, allocations: 31.94 kB / 387.8 MB, free: 8.828 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.001453/0.01787, allocations: 432.6 kB / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01806, allocations: 63.53 kB / 388.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01807, allocations: 0 / 388.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.01813, allocations: 39.61 kB / 388.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.01857, allocations: 34.64 kB / 388.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.01965, allocations: 0.6465 MB / 389 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.01977, allocations: 127.2 kB / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.909e-05/0.01987, allocations: 28.45 kB / 389.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.01992, allocations: 20.5 kB / 389.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01992, allocations: 0 / 389.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.005357/0.02528, allocations: 1.835 MB / 391 MB, free: 5.727 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","",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.2693272829055786]