Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009665/0.0009665, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001092/0.001092, 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.9819/0.9819, allocations: 177.1 MB / 205 MB, free: 5.637 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.2477/0.2477, 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.671e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002518/0.002534, allocations: 2.042 MB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004112, allocations: 1.235 MB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004238, allocations: 0 / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.004462, allocations: 51.52 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.004887, allocations: 215 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.005555, allocations: 427 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.005901, allocations: 303 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.006054, allocations: 44.91 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.006331, allocations: 167.5 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.006535, allocations: 171.6 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.006564, allocations: 15.94 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.006695, allocations: 67.91 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.006817, allocations: 139.5 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.006887, allocations: 87.64 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.007197, allocations: 306.7 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0072, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.0072, allocations: 3.938 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.007205, allocations: 0 / 383.3 MB, free: 13.41 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.0006819/0.007887, allocations: 0.8095 MB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.007924, allocations: 16.03 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.008128, allocations: 80.55 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.008502, allocations: 344.5 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.008518, allocations: 12.38 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.00855, allocations: 8.375 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.008742, allocations: 126.1 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.008756, allocations: 7.922 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.008767, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.008777, allocations: 4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.008848, allocations: 43.91 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.009477, allocations: 0.6544 MB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.009595, allocations: 94.17 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.009634, allocations: 27.36 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.009661, allocations: 8.125 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.009686, allocations: 33.39 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.009687, allocations: 0 / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007066/0.01039, allocations: 427.4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.01043, allocations: 81.11 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.01093, allocations: 0.6549 MB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.01095, allocations: 29.7 kB / 386.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.01112, allocations: 315.1 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01117, allocations: 59.47 kB / 387.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.01122, allocations: 35.36 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.0114, allocations: 0.5586 MB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.01145, allocations: 23.98 kB / 387.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.0115, allocations: 39.36 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.0116, allocations: 71.44 kB / 387.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.0116, allocations: 0 / 387.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001956/0.0118, allocations: 165.2 kB / 388 MB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01182, allocations: 13.7 kB / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01182, allocations: 0 / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01184, allocations: 4 kB / 388 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01195, allocations: 31.92 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01196, allocations: 0 / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.01202, allocations: 15.98 kB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01203, allocations: 4 kB / 388 MB, free: 8.391 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 8.965e-05/0.01212, allocations: 156.6 kB / 388.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.01218, allocations: 67.56 kB / 388.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.01245, allocations: 191.2 kB / 388.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01245, allocations: 7.938 kB / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01245, allocations: 0 / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01246, allocations: 0 / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.01306, allocations: 0.7345 MB / 389.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01306, allocations: 4 kB / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.01314, allocations: 27.98 kB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01314, allocations: 0 / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01315, allocations: 15.98 kB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01315, allocations: 0 / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01315, allocations: 4 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.01341, allocations: 434.5 kB / 389.6 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.01346, allocations: 55.66 kB / 389.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01348, allocations: 4 kB / 389.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.01356, allocations: 4 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.01361, allocations: 19.97 kB / 389.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01362, allocations: 4 kB / 389.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003045/0.01392, allocations: 434.7 kB / 390.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01392, allocations: 4 kB / 390.2 MB, free: 6.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.01417, allocations: 51.98 kB / 390.2 MB, free: 6.121 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.0007998/0.01497, allocations: 392 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.01513, allocations: 75.53 kB / 390.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01513, allocations: 0 / 390.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.01519, allocations: 60 kB / 390.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.01556, allocations: 95.02 kB / 390.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.0165, allocations: 0.7383 MB / 391.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.01659, allocations: 136.4 kB / 391.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.477e-05/0.01668, allocations: 62.92 kB / 391.8 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.01675, allocations: 40.48 kB / 391.8 MB, free: 4.617 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01675, allocations: 0 / 391.8 MB, free: 4.617 MB / 362.7 MB Notification: Performance of Templates: time 0.006554/0.02331, allocations: 4.119 MB / 395.9 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.37008935213089]