Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.0009086/0.0009086, allocations: 81.95 kB / 21.42 MB, free: 3.078 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.0009681/0.0009681, allocations: 163.8 kB / 24.82 MB, free: 8.875 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.9252/0.9252, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2554/0.2554, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.41e-07/8.41e-07, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.095e-05, allocations: 6.25 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002398/0.002409, allocations: 2.086 MB / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003822, allocations: 1.262 MB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.003916, allocations: 4 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.004099, allocations: 51.45 kB / 379.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.004436, allocations: 222.9 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.004928, allocations: 443 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.00519, allocations: 342.9 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005305, allocations: 40.83 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.005511, allocations: 183.4 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.005679, allocations: 187.5 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.005705, allocations: 16 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.005796, allocations: 63.92 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.005905, allocations: 151.5 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.005963, allocations: 87.58 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006207, allocations: 326.6 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.006208, allocations: 0 / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.006209, allocations: 4 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006212, allocations: 0 / 381.9 MB, free: 14.94 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008532/0.007066, allocations: 0.8366 MB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.0071, allocations: 11.98 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.007306, allocations: 100.5 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.007568, allocations: 345.4 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.007578, allocations: 8.359 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.007601, allocations: 20.36 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.007748, allocations: 134 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007759, allocations: 7.922 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007768, allocations: 4 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.007776, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.007826, allocations: 27.97 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.008271, allocations: 0.569 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.008377, allocations: 94.16 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.008407, allocations: 31.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.008435, allocations: 8 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.008456, allocations: 45.31 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.008457, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005893/0.009046, allocations: 328.7 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.009072, allocations: 81.11 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.009453, allocations: 0.6477 MB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.009467, allocations: 25.92 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.009613, allocations: 339 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.009652, allocations: 75.36 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.009697, allocations: 43.34 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.009841, allocations: 0.5702 MB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.009876, allocations: 15.98 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.009928, allocations: 55.28 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.01002, allocations: 87.39 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01002, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001682/0.01019, allocations: 173.2 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.0102, allocations: 11.94 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.0102, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01021, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01033, allocations: 51.95 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01034, allocations: 3.938 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.01041, allocations: 15.98 kB / 386.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.01042, allocations: 4 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.158e-05/0.0105, allocations: 164.6 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.01056, allocations: 63.58 kB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.0108, allocations: 219 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.0108, allocations: 0 / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.0108, allocations: 4 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01081, allocations: 11.98 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.01132, allocations: 0.6769 MB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01132, allocations: 4 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01142, allocations: 47.89 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.01142, allocations: 0 / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.01143, allocations: 8 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01143, allocations: 0 / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01143, allocations: 4 kB / 387.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.01166, allocations: 446.7 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.0117, allocations: 59.61 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01172, allocations: 4 kB / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.01182, allocations: 15.92 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.01185, allocations: 27.89 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01186, allocations: 8 kB / 388.4 MB, free: 8.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.01207, allocations: 414.9 kB / 388.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01207, allocations: 0 / 388.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.01228, allocations: 63.94 kB / 388.9 MB, free: 7.668 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 (20): * Single equations (assignments): 20 * 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.0009389/0.01322, allocations: 385.4 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.01334, allocations: 93.91 kB / 389.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.01334, allocations: 0 / 389.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.0134, allocations: 67.56 kB / 389.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.01372, allocations: 89.64 kB / 389.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01447, allocations: 0.7915 MB / 390.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.01454, allocations: 144.5 kB / 390.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.01465, allocations: 67.22 kB / 390.5 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.01478, allocations: 134.2 kB / 390.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01478, allocations: 0 / 390.6 MB, free: 5.988 MB / 362.7 MB Notification: Performance of Templates: time 0.006005/0.02079, allocations: 4.9 MB / 395.5 MB, free: 1.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.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.9351030848920345]