Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001023/0.001023, 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.001032/0.001032, allocations: 165 kB / 24.56 MB, free: 12 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.951/0.951, allocations: 177.1 MB / 205 MB, free: 5.641 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.2505/0.2505, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.274e-05, allocations: 6.25 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.00246/0.002483, allocations: 2.116 MB / 380.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004007, allocations: 1.27 MB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00411, allocations: 4 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.004328, allocations: 55.45 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.004736, allocations: 222.9 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.005335, allocations: 442.9 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.005639, allocations: 334.9 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005771, allocations: 44.89 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.006018, allocations: 187.4 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.006217, allocations: 187.5 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.006248, allocations: 12 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.006359, allocations: 71.89 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.006483, allocations: 143.5 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.006553, allocations: 87.58 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.00686, allocations: 326.6 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006863, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006863, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006869, allocations: 0 / 383.5 MB, free: 13.18 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.0007163/0.007585, allocations: 0.8444 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.007618, allocations: 12.03 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.007873, allocations: 104.5 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.008223, allocations: 361.3 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.008234, allocations: 12.31 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.008264, allocations: 12.38 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.008453, allocations: 137.2 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.008463, allocations: 3.938 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.008478, allocations: 12 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.008485, allocations: 3.984 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.008561, allocations: 39.91 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.009154, allocations: 0.6662 MB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.009291, allocations: 98.22 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.009335, allocations: 35.5 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.009361, allocations: 7.984 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.009383, allocations: 41.33 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.009385, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008428/0.01023, allocations: 0.4953 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.01027, allocations: 89.09 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.01075, allocations: 0.6754 MB / 387.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.01077, allocations: 25.7 kB / 387.2 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.01093, allocations: 327.2 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.01098, allocations: 67.39 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.01104, allocations: 43.34 kB / 387.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.01121, allocations: 0.5665 MB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.01126, allocations: 19.98 kB / 388.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.01134, allocations: 59.34 kB / 388.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.01148, allocations: 95.42 kB / 388.3 MB, free: 8.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01148, allocations: 0 / 388.3 MB, free: 8.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002453/0.01173, allocations: 201 kB / 388.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01174, allocations: 4 kB / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01175, allocations: 0 / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01176, allocations: 4 kB / 388.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.01191, allocations: 43.91 kB / 388.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01191, allocations: 4 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.01199, allocations: 19.98 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.012, allocations: 7.984 kB / 388.6 MB, free: 7.809 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 9.529e-05/0.0121, allocations: 164.6 kB / 388.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.01216, allocations: 63.56 kB / 388.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.01246, allocations: 227.1 kB / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01247, allocations: 8 kB / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01247, allocations: 0 / 389.1 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01248, allocations: 3.984 kB / 389.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.01316, allocations: 0.7776 MB / 389.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01317, allocations: 0 / 389.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.01328, allocations: 55.89 kB / 389.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01329, allocations: 4 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.0133, allocations: 0 / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.01331, allocations: 4 kB / 389.9 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01331, allocations: 0 / 389.9 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.01367, allocations: 470.5 kB / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.01374, allocations: 59.61 kB / 390.4 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.01378, allocations: 8 kB / 390.4 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01388, allocations: 11.98 kB / 390.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.01396, allocations: 23.95 kB / 390.5 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.01397, allocations: 12 kB / 390.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003687/0.01434, allocations: 455 kB / 390.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01434, allocations: 0 / 390.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01462, allocations: 59.94 kB / 391 MB, free: 5.359 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.0009888/0.01561, allocations: 394.4 kB / 391.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.01583, allocations: 107.5 kB / 391.5 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01583, allocations: 0 / 391.5 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.01592, allocations: 70.33 kB / 391.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.01633, allocations: 85.14 kB / 391.6 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.01756, allocations: 0.793 MB / 392.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.01765, allocations: 144.4 kB / 392.5 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.01777, allocations: 63.22 kB / 392.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.01786, allocations: 36.48 kB / 392.6 MB, free: 3.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01786, allocations: 4 kB / 392.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of Templates: time 0.007081/0.02494, allocations: 4.55 MB / 397.2 MB, free: 15.24 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.501923230011016]