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.001098/0.001098, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001228/0.001228, allocations: 165.4 kB / 24.56 MB, free: 16 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.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.301 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.281/0.281, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.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.803e-06/1.803e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.852e-05/4.033e-05, allocations: 5.969 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002708/0.002749, allocations: 1.712 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.003573, allocations: 0.5608 MB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.003628, allocations: 0 / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.004125, allocations: 447.2 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.004585, allocations: 291.1 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.004944, allocations: 139.5 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.005222, allocations: 171.6 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005325, allocations: 15.98 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.005465, allocations: 123.7 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.005677, allocations: 243.6 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.005701, allocations: 4 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.005821, allocations: 51.91 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.005926, allocations: 83.72 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.005969, allocations: 39.73 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.006222, allocations: 211.1 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006225, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.006226, allocations: 0 / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.006232, allocations: 0 / 382.1 MB, free: 14.56 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.0006566/0.006889, allocations: 0.7048 MB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.006936, allocations: 12.03 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.007007, allocations: 48.66 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.007251, allocations: 244.9 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.007266, allocations: 384 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.007294, allocations: 12.3 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.007461, allocations: 58.95 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.007474, allocations: 192 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.007487, allocations: 8.125 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.007498, allocations: 4 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.00754, allocations: 15.98 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.008056, allocations: 431.6 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.554e-05/0.008141, allocations: 46.98 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.008164, allocations: 11.69 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.008185, allocations: 4 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.008211, allocations: 45.36 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.008212, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006504/0.008863, allocations: 260.7 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.008899, allocations: 55.41 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.009316, allocations: 0.6277 MB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.009332, allocations: 29.7 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.00948, allocations: 286.7 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.009511, allocations: 31.73 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.009551, allocations: 23.38 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.009719, allocations: 0.5586 MB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.009747, allocations: 7.984 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.009772, allocations: 15.98 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.009826, allocations: 31.62 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.009828, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001259/0.009954, allocations: 105.4 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.009968, allocations: 8 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009973, allocations: 4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.009988, allocations: 432 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.01008, allocations: 15.98 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01009, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.01012, allocations: 8 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.01012, allocations: 0 / 385.8 MB, free: 10.67 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 (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 8.82e-05/0.01021, allocations: 172.4 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01025, allocations: 43.72 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.01043, allocations: 113.5 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01043, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01043, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01044, allocations: 7.984 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.01095, allocations: 0.5012 MB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01095, allocations: 0 / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.01101, allocations: 15.98 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.01102, allocations: 7.938 kB / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01103, allocations: 0 / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.01103, allocations: 4.031 kB / 386.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01104, allocations: 7.938 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.01127, allocations: 271.3 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.0113, allocations: 35.72 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.01132, allocations: 4 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.695e-05/0.01137, allocations: 4 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.01141, allocations: 11.92 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.01142, allocations: 4 kB / 387 MB, free: 9.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002747/0.01169, allocations: 430.8 kB / 387.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01169, allocations: 3.938 kB / 387.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.01189, allocations: 31.94 kB / 387.5 MB, free: 8.934 MB / 362.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.001056/0.01294, allocations: 422.3 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01308, allocations: 39.67 kB / 387.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01308, allocations: 0 / 387.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01319, allocations: 35.61 kB / 387.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01348, allocations: 28.45 kB / 388 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.01417, allocations: 0.6017 MB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.01424, allocations: 119.2 kB / 388.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01428, allocations: 17.03 kB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.01432, allocations: 20.48 kB / 388.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01432, allocations: 3.938 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.005224/0.01954, allocations: 1.713 MB / 390.4 MB, free: 6.051 MB / 362.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: 3.4683263329789042]