Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001404/0.001404, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00152/0.00152, allocations: 161 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 0.9228/0.9228, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 32.8 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.877e-05, allocations: 2.312 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002715/0.002733, allocations: 1.661 MB / 377.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.003689, allocations: 0.5569 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.003751, allocations: 4 kB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.004348, allocations: 451.1 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.004808, allocations: 303.1 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.005176, allocations: 167.5 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.005441, allocations: 179.6 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005545, allocations: 11.98 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005685, allocations: 119.7 kB / 379.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.005939, allocations: 243.6 kB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005958, allocations: 0 / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.3e-05/0.006031, allocations: 27.92 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.006128, allocations: 83.72 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.006179, allocations: 43.72 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.006434, allocations: 195.1 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006436, allocations: 0 / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006437, allocations: 0 / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006442, allocations: 0 / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006863/0.007128, allocations: 0.6928 MB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.007167, allocations: 8.031 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.007241, allocations: 44.66 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.007479, allocations: 244.9 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.007489, allocations: 384 / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.007501, allocations: 4.375 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.007631, allocations: 62.94 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007641, allocations: 4.125 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.007651, allocations: 0.5625 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.00766, allocations: 3.938 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.216e-05/0.007692, allocations: 8 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.008184, allocations: 427.6 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.008267, allocations: 43.05 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.008295, allocations: 11.69 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.008313, allocations: 3.938 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.008337, allocations: 41.33 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.008338, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002011/0.008539, allocations: 89.5 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.00857, allocations: 51.41 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.009136, allocations: 0.6393 MB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.00915, allocations: 25.7 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.009346, allocations: 282.8 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.009367, allocations: 11.89 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.009401, allocations: 23.36 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.009597, allocations: 0.5548 MB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.009616, allocations: 3.938 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.009634, allocations: 12.17 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.009677, allocations: 23.77 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009679, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001058/0.009785, allocations: 81.41 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.0098, allocations: 9.969 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009804, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.009818, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.009889, allocations: 8 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.009894, allocations: 3.984 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.009933, allocations: 11.94 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.00994, allocations: 4 kB / 383.4 MB, free: 13.04 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 (3): * Single equations (assignments): 3 * 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.598e-05/0.01003, allocations: 152.6 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.01008, allocations: 47.66 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.01022, allocations: 85.14 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01022, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01022, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01023, allocations: 4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.01052, allocations: 276.5 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01052, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.01055, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01055, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01056, allocations: 3.938 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01056, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01057, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.01071, allocations: 239.5 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.01075, allocations: 43.64 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01077, allocations: 3.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.01084, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.01086, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.01086, allocations: 3.938 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003692/0.01123, allocations: 426.8 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01123, allocations: 4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.01153, allocations: 24 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0009738/0.0125, allocations: 324.5 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01261, allocations: 27.61 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01261, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.01263, allocations: 11.69 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.013, allocations: 30.3 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.01385, allocations: 0.5743 MB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01396, allocations: 119.2 kB / 385.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.01401, allocations: 15.97 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01405, allocations: 12.5 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01405, allocations: 0 / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.003816/0.01787, allocations: 1.279 MB / 387.1 MB, free: 9.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.019735604058951]