Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001294/0.001294, 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.001174/0.001174, 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.9644/0.9644, allocations: 177.1 MB / 205 MB, free: 5.59 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.2616/0.2616, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.621e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002633/0.00266, allocations: 2.113 MB / 380.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.004243, allocations: 1.375 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004347, allocations: 3.938 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.004583, allocations: 63.38 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.004956, allocations: 226.9 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007175/0.005673, allocations: 0.6041 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.005988, allocations: 366.8 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.006127, allocations: 40.92 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.006341, allocations: 191.5 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006522, allocations: 191.5 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.006554, allocations: 16 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.006662, allocations: 63.91 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.006799, allocations: 159.4 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.006875, allocations: 87.58 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.007185, allocations: 334.6 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007187, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007188, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.007194, allocations: 0 / 383.9 MB, free: 12.8 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.0007027/0.007897, allocations: 0.8522 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.007933, allocations: 16.02 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.008162, allocations: 96.48 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.008498, allocations: 381.3 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.008509, allocations: 8.375 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.008537, allocations: 16.38 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.008726, allocations: 136.3 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008736, allocations: 7.938 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.008748, allocations: 4 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.008755, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.071e-05/0.008836, allocations: 43.83 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.009431, allocations: 0.6856 MB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.009564, allocations: 102.2 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.009611, allocations: 35.48 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.009643, allocations: 8 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.00967, allocations: 41.39 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.009672, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008828/0.01055, allocations: 0.4992 MB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.01059, allocations: 77.11 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.01109, allocations: 0.6909 MB / 387.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.0111, allocations: 29.7 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.01127, allocations: 339.1 kB / 387.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.01131, allocations: 63.44 kB / 388 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.01136, allocations: 43.36 kB / 388 MB, free: 8.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01152, allocations: 0.5625 MB / 388.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.01159, allocations: 31.97 kB / 388.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.01166, allocations: 53.94 kB / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01179, allocations: 99.41 kB / 388.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.01179, allocations: 0 / 388.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002302/0.01202, allocations: 193.3 kB / 388.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01203, allocations: 8 kB / 388.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.01204, allocations: 3.938 kB / 388.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01205, allocations: 4 kB / 388.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.01221, allocations: 51.89 kB / 389 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01221, allocations: 0 / 389 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.01228, allocations: 15.98 kB / 389 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01229, allocations: 4 kB / 389 MB, free: 7.367 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.036e-05/0.01238, allocations: 168.5 kB / 389.2 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.01245, allocations: 75.5 kB / 389.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.01275, allocations: 215.2 kB / 389.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01275, allocations: 8 kB / 389.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01276, allocations: 0 / 389.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002699/0.01303, allocations: 3.984 kB / 389.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.01368, allocations: 0.8047 MB / 390.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01368, allocations: 3.984 kB / 390.3 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01379, allocations: 47.95 kB / 390.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01379, allocations: 0 / 390.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01381, allocations: 11.98 kB / 390.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01381, allocations: 0 / 390.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01381, allocations: 0 / 390.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.01408, allocations: 470.5 kB / 390.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.01414, allocations: 63.61 kB / 390.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.01416, allocations: 0 / 390.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.01426, allocations: 12 kB / 390.9 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.01431, allocations: 23.95 kB / 390.9 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01433, allocations: 4 kB / 390.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.01464, allocations: 463 kB / 391.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01464, allocations: 0 / 391.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.01487, allocations: 67.95 kB / 391.4 MB, free: 4.883 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.0008015/0.01567, allocations: 395.5 kB / 391.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.01587, allocations: 103.5 kB / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01587, allocations: 0 / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.01595, allocations: 75.53 kB / 392 MB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01631, allocations: 89.44 kB / 392.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.0173, allocations: 0.8288 MB / 392.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.337e-05/0.01738, allocations: 144.5 kB / 393 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.01752, allocations: 83.19 kB / 393.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.0176, allocations: 44.48 kB / 393.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0176, allocations: 0 / 393.2 MB, free: 3.215 MB / 362.7 MB Notification: Performance of Templates: time 0.006732/0.02433, allocations: 4.666 MB / 397.8 MB, free: 14.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.4847720307298005]