Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001247/0.001247, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001358/0.001358, allocations: 168.1 kB / 24.82 MB, free: 9.203 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.9642/0.9642, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2388/0.2388, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.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.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.782e-05, allocations: 2.312 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003156/0.003174, allocations: 2.015 MB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.00527, allocations: 1.219 MB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.005337, allocations: 0 / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.005443, allocations: 55.45 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.005806, allocations: 215 kB / 380 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.006324, allocations: 427 kB / 380.4 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.006554, allocations: 307 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.006642, allocations: 36.91 kB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.006811, allocations: 171.5 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006947, allocations: 171.6 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.006967, allocations: 12 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.007046, allocations: 67.91 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.007132, allocations: 139.5 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.007184, allocations: 91.52 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.007403, allocations: 306.7 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.007405, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.007405, allocations: 0 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.007408, allocations: 0 / 381.7 MB, free: 15.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.0004994/0.007908, allocations: 0.8055 MB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.007935, allocations: 19.98 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.008076, allocations: 80.55 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.008309, allocations: 332.5 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.008316, allocations: 8.375 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.008331, allocations: 12.36 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.008438, allocations: 117.2 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.008452, allocations: 11.86 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.00846, allocations: 8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-06/0.008463, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.008502, allocations: 35.91 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.008875, allocations: 0.5496 MB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.008945, allocations: 94.02 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.008968, allocations: 27.61 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.008983, allocations: 8 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.008997, allocations: 37.39 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.008998, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000402/0.0094, allocations: 264.8 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.009427, allocations: 81.11 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.00978, allocations: 0.6195 MB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.009794, allocations: 29.7 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.009929, allocations: 330.9 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.009959, allocations: 63.41 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.009997, allocations: 35.36 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01013, allocations: 0.5585 MB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.01016, allocations: 16.2 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.01019, allocations: 35.34 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.01026, allocations: 75.42 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01026, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001343/0.0104, allocations: 149.2 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/0.0104, allocations: 11.94 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.01041, allocations: 4 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.01041, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.01049, allocations: 39.91 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.01049, allocations: 0 / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.01054, allocations: 15.94 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.01055, allocations: 4 kB / 386.1 MB, free: 10.48 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 (16): * Single equations (assignments): 16 * 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 7.417e-05/0.01062, allocations: 164.6 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.01068, allocations: 59.62 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.01086, allocations: 186.9 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01086, allocations: 0 / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01087, allocations: 4 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.01087, allocations: 0 / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.01131, allocations: 0.6336 MB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01131, allocations: 0 / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.01138, allocations: 31.92 kB / 387.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01138, allocations: 0 / 387.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.01139, allocations: 15.98 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01139, allocations: 0 / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.0114, allocations: 4 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.01159, allocations: 422.6 kB / 387.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.01163, allocations: 55.61 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01165, allocations: 0 / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.01173, allocations: 8 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.01176, allocations: 15.97 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01176, allocations: 3.938 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.01196, allocations: 402.6 kB / 388.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01196, allocations: 4 kB / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.01217, allocations: 52 kB / 388.1 MB, free: 8.375 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 (16): * Single equations (assignments): 16 * 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.0007278/0.0129, allocations: 374.6 kB / 388.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.01301, allocations: 79.5 kB / 388.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01301, allocations: 0 / 388.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.01306, allocations: 47.59 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.01339, allocations: 94.39 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.01416, allocations: 0.7484 MB / 389.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.01424, allocations: 132.5 kB / 389.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.602e-05/0.01433, allocations: 62.92 kB / 389.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01445, allocations: 126.2 kB / 389.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01445, allocations: 0 / 389.8 MB, free: 6.801 MB / 362.7 MB Notification: Performance of Templates: time 0.006261/0.02072, allocations: 4.438 MB / 394.2 MB, free: 2.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.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.9913208642974496]