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.001606/0.001606, allocations: 75.77 kB / 21.18 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.001159/0.001159, allocations: 161 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.9541/0.9541, allocations: 177.1 MB / 205 MB, free: 5.633 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.2513/0.2513, allocations: 32.8 MB / 294.3 MB, free: 1.199 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 1.964e-06/1.964e-06, allocations: 0 / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.102e-05, allocations: 5.406 kB / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.007246/0.007277, allocations: 2.098 MB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.009119, allocations: 1.273 MB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.009238, allocations: 4 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.009487, allocations: 55.44 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.00997, allocations: 219 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.01075, allocations: 450.9 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.01114, allocations: 334.8 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.0113, allocations: 40.91 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.0116, allocations: 195.4 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.01182, allocations: 175.6 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.01185, allocations: 16 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.01197, allocations: 59.92 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.0121, allocations: 159.4 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.01218, allocations: 87.64 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.01279, allocations: 326.6 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.0128, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0128, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.0128, allocations: 0 / 381.5 MB, free: 15.14 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.0007594/0.01356, allocations: 0.8367 MB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.0136, allocations: 15.92 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.01388, allocations: 104.5 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.01422, allocations: 357.4 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.01423, allocations: 8.375 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.01426, allocations: 16.36 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.01446, allocations: 137.1 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01447, allocations: 7.922 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01448, allocations: 8 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.01449, allocations: 3.984 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.01457, allocations: 39.91 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.01517, allocations: 0.6701 MB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.01531, allocations: 98.17 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.01536, allocations: 35.48 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.01538, allocations: 8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.0154, allocations: 37.38 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.01541, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008399/0.01624, allocations: 0.492 MB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.01628, allocations: 89.11 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.01678, allocations: 0.6715 MB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.0168, allocations: 33.7 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.01696, allocations: 327.2 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.01702, allocations: 71.38 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.01707, allocations: 47.34 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.01723, allocations: 0.5587 MB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.01729, allocations: 28.03 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.01737, allocations: 55.34 kB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.01751, allocations: 95.42 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01751, allocations: 4 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002608/0.01777, allocations: 197 kB / 386.5 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.01779, allocations: 8.219 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.0178, allocations: 3.984 kB / 386.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01781, allocations: 3.938 kB / 386.5 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01797, allocations: 43.97 kB / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.01798, allocations: 0 / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.01805, allocations: 15.98 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01806, allocations: 7.984 kB / 386.6 MB, free: 9.777 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.0001091/0.01817, allocations: 172.5 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.01824, allocations: 63.56 kB / 386.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.01856, allocations: 226.3 kB / 387 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01856, allocations: 4 kB / 387 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01856, allocations: 0 / 387 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01857, allocations: 3.984 kB / 387 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.01928, allocations: 0.7736 MB / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01928, allocations: 0 / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.0194, allocations: 47.89 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.01941, allocations: 8 kB / 387.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01942, allocations: 4 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01943, allocations: 8 kB / 387.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01943, allocations: 0 / 387.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.0201, allocations: 469.2 kB / 388.3 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.02016, allocations: 59.61 kB / 388.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.02019, allocations: 8 kB / 388.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.02029, allocations: 15.97 kB / 388.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.02036, allocations: 23.89 kB / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.02037, allocations: 8 kB / 388.5 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00033/0.0207, allocations: 463 kB / 388.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0207, allocations: 0 / 388.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.02096, allocations: 59.94 kB / 389 MB, free: 7.32 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.0008574/0.02181, allocations: 383.8 kB / 389.3 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.02206, allocations: 107.4 kB / 389.4 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02206, allocations: 0 / 389.4 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.02214, allocations: 71.58 kB / 389.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.02255, allocations: 86 kB / 389.6 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.02375, allocations: 0.7992 MB / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.53e-05/0.02384, allocations: 144.5 kB / 390.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.02395, allocations: 59.22 kB / 390.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.02404, allocations: 40.48 kB / 390.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02404, allocations: 0 / 390.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of Templates: time 0.007671/0.03171, allocations: 4.835 MB / 395.5 MB, free: 0.9258 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: 3.078468502033502]