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.001533/0.001533, allocations: 77.88 kB / 21.42 MB, free: 3.062 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.001829/0.001829, allocations: 169.5 kB / 24.82 MB, free: 9.262 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.213/1.213, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3956/0.3956, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.974e-06/1.974e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.077e-05, allocations: 13.2 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003385/0.003416, allocations: 2.081 MB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.005707, allocations: 1.262 MB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.005911, allocations: 7.938 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.006233, allocations: 47.52 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.006847, allocations: 230.8 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009419/0.007789, allocations: 442.9 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.008343, allocations: 338.8 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.008557, allocations: 40.91 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.008961, allocations: 195.4 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.009313, allocations: 175.6 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.009349, allocations: 16 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.009525, allocations: 67.89 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.009686, allocations: 143.5 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.009773, allocations: 87.58 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.01024, allocations: 326.6 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01024, allocations: 4 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01024, allocations: 0 / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.01025, allocations: 0 / 383.9 MB, free: 12.91 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.0009773/0.01123, allocations: 0.8366 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.01129, allocations: 8.031 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.0116, allocations: 100.5 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.01202, allocations: 357.3 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.01204, allocations: 12.38 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.01207, allocations: 8.375 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.01232, allocations: 129.2 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01234, allocations: 11.92 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.01235, allocations: 3.938 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01236, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.01243, allocations: 31.91 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.01316, allocations: 0.5691 MB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.01335, allocations: 102 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.0134, allocations: 35.61 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.01345, allocations: 4 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.01348, allocations: 33.39 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.855e-06/0.01348, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009272/0.01441, allocations: 332.7 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.01446, allocations: 81.05 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.01497, allocations: 0.6555 MB / 387.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.01499, allocations: 25.7 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.01518, allocations: 339 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.01524, allocations: 71.41 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.01531, allocations: 43.34 kB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004456/0.01575, allocations: 0.5624 MB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.17e-05/0.01581, allocations: 19.98 kB / 388.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.01588, allocations: 51.28 kB / 388.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.01627, allocations: 83.41 kB / 388.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01628, allocations: 4 kB / 388.4 MB, free: 8.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002398/0.01652, allocations: 173.2 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.01654, allocations: 9.969 kB / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.01655, allocations: 11.92 kB / 388.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01656, allocations: 4 kB / 388.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01671, allocations: 44.19 kB / 388.6 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01672, allocations: 7.984 kB / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.0168, allocations: 15.92 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01681, allocations: 12.73 kB / 388.7 MB, free: 7.91 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 0.0001208/0.01693, allocations: 160.5 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.01701, allocations: 71.58 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.01732, allocations: 206.4 kB / 389.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01732, allocations: 8 kB / 389.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01732, allocations: 3.938 kB / 389.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01733, allocations: 3.984 kB / 389.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.01799, allocations: 0.6808 MB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.01799, allocations: 0 / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01811, allocations: 43.97 kB / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01812, allocations: 0 / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01813, allocations: 11.98 kB / 389.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.01814, allocations: 0 / 389.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01814, allocations: 7.938 kB / 389.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.01848, allocations: 450.6 kB / 390.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.01854, allocations: 51.61 kB / 390.4 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01857, allocations: 8 kB / 390.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01868, allocations: 11.98 kB / 390.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.01874, allocations: 19.97 kB / 390.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.01875, allocations: 7.984 kB / 390.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.01905, allocations: 422.9 kB / 390.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01905, allocations: 0 / 390.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.01934, allocations: 59.94 kB / 390.9 MB, free: 5.645 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.0009553/0.0203, allocations: 388.2 kB / 391.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.02048, allocations: 94.47 kB / 391.3 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02048, allocations: 7.938 kB / 391.4 MB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.02055, allocations: 59.53 kB / 391.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.02096, allocations: 97.2 kB / 391.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.02232, allocations: 0.7859 MB / 392.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.02246, allocations: 136.4 kB / 392.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.02265, allocations: 71.22 kB / 392.5 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.02282, allocations: 134.2 kB / 392.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02282, allocations: 0 / 392.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of Templates: time 0.009836/0.03266, allocations: 4.903 MB / 397.5 MB, free: 15.14 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.8543466860428452]