Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001285/0.001285, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002232/0.003517, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001284/0.001284, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.003004, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.087/1.087, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.19, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.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.2996/0.2996, allocations: 32.8 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03843/0.338, allocations: 12.53 MB / 289.3 MB, free: 8.652 MB / 282.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.669e-05, allocations: 3.688 kB / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003743/0.003769, allocations: 1.705 MB / 292.3 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.00479, allocations: 0.5645 MB / 292.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.004846, allocations: 2.75 kB / 292.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.005371, allocations: 492.6 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.005794, allocations: 311.1 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.006203, allocations: 176.4 kB / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.006437, allocations: 179.6 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.006496, allocations: 11.97 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.006669, allocations: 155.8 kB / 294.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.006871, allocations: 191.7 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.006886, allocations: 4 kB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.006953, allocations: 35.84 kB / 294.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.007028, allocations: 79.72 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.007071, allocations: 35.75 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.007289, allocations: 187.2 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.0073, allocations: 0 / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007301, allocations: 0 / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.007311, allocations: 4 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004909/0.007802, allocations: 0.5922 MB / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.007838, allocations: 8.031 kB / 295.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.007876, allocations: 24.91 kB / 295.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.008068, allocations: 250 kB / 295.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.008076, allocations: 4.375 kB / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.008082, allocations: 384 / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.008172, allocations: 62.94 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.008181, allocations: 192 / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.008188, allocations: 8.109 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008194, allocations: 4 kB / 295.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.008217, allocations: 4 kB / 295.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.008466, allocations: 199.1 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.008517, allocations: 26.52 kB / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.008529, allocations: 4.859 kB / 295.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.008552, allocations: 8.078 kB / 295.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.008568, allocations: 34.56 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.008569, allocations: 4 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001044/0.008673, allocations: 65.55 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.0087, allocations: 51.41 kB / 296 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.009002, allocations: 0.5244 MB / 296.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.009016, allocations: 33.7 kB / 296.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.009077, allocations: 145.2 kB / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.009091, allocations: 7.953 kB / 296.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.009116, allocations: 9.719 kB / 296.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.009217, allocations: 362.7 kB / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.009225, allocations: 0 / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.009232, allocations: 8 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.009257, allocations: 19.67 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.009258, allocations: 0 / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.525e-05/0.009313, allocations: 61.61 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.009324, allocations: 7.938 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.009328, allocations: 4 kB / 297.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.009335, allocations: 4 kB / 297.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.009377, allocations: 7.984 kB / 297.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.009379, allocations: 0 / 297.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.009402, allocations: 7.938 kB / 297.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.009405, allocations: 0 / 297.2 MB, free: 1.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.153e-05/0.009467, allocations: 112.7 kB / 297.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.009496, allocations: 23.97 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.009603, allocations: 85.02 kB / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009605, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009607, allocations: 0 / 297.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.00961, allocations: 4 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.009751, allocations: 133.8 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009753, allocations: 4.375 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.009777, allocations: 7.984 kB / 297.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.009806, allocations: 35.72 kB / 297.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009808, allocations: 4 kB / 297.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009814, allocations: 7.875 kB / 297.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009815, allocations: 0 / 297.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.009818, allocations: 3.984 kB / 297.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.539e-05/0.009913, allocations: 159.5 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.009926, allocations: 0 / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.009963, allocations: 4 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.00998, allocations: 7.922 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.009982, allocations: 0 / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.01019, allocations: 287.2 kB / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01019, allocations: 4 kB / 298.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.01034, allocations: 19.95 kB / 298.1 MB, free: 0.5352 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.001131/0.01147, allocations: 471.7 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.673e-05/0.01153, allocations: 20.84 kB / 298.6 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.01154, allocations: 4 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.01155, allocations: 12.8 kB / 298.6 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.01173, allocations: 49.48 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.01242, allocations: 0.5632 MB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.27e-05/0.01249, allocations: 119.2 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.827e-05/0.01252, allocations: 7.984 kB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.01257, allocations: 59.36 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01257, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Templates: time 0.003364/0.01594, allocations: 1.306 MB / 300.7 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.117480758577585]