Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001839/0.001839, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00207/0.00207, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3468/0.3468, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.128e-05, allocations: 6.25 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003275/0.003306, allocations: 1.615 MB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.005463, allocations: 1.255 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.005518, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.005756, allocations: 23.84 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.006096, allocations: 83.56 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.006385, allocations: 99.56 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.006581, allocations: 79.75 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.00668, allocations: 4 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.656e-05/0.006777, allocations: 39.84 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.007491, allocations: 19.91 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.007525, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.007725, allocations: 91.88 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.00778, allocations: 11.94 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.007817, allocations: 11.98 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.008135, allocations: 151.5 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.00814, allocations: 0 / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008141, allocations: 4 kB / 378.8 MB, free: 1.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.008146, allocations: 0 / 378.8 MB, free: 1.484 MB / 346.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.0009362/0.009082, allocations: 423.7 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.009127, allocations: 12.03 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.00919, allocations: 12.83 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.009426, allocations: 136.5 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.009448, allocations: 4.375 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.00947, allocations: 384 / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.009664, allocations: 91.27 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.009674, allocations: 192 / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.009692, allocations: 16.12 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.009697, allocations: 0 / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.009777, allocations: 15.97 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.01022, allocations: 291.8 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01046, allocations: 50.98 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.01051, allocations: 23.77 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01054, allocations: 3.938 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.01058, allocations: 37.39 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.01058, allocations: 0 / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005646/0.01114, allocations: 133.4 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.01122, allocations: 77.11 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.01147, allocations: 211.6 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.01149, allocations: 29.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.0116, allocations: 142.9 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.01162, allocations: 11.91 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.01167, allocations: 23.38 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.01194, allocations: 0.4923 MB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.012, allocations: 12 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.0121, allocations: 65.06 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01223, allocations: 51.61 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01223, allocations: 192 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.01242, allocations: 81.56 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01244, allocations: 4 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01244, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01246, allocations: 0 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.01252, allocations: 15.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01253, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.01257, allocations: 7.969 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01258, allocations: 7.938 kB / 381.2 MB, free: 14.8 MB / 362.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 (5): * Single equations (assignments): 5 * 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.0001323/0.01271, allocations: 164.5 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.01275, allocations: 15.89 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.01299, allocations: 86.08 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01299, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01299, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.013, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.0135, allocations: 353.3 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.0135, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.01355, allocations: 8 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01355, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.01356, allocations: 4 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01356, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01356, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01384, allocations: 227.8 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.01386, allocations: 8.188 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01388, allocations: 0 / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.01395, allocations: 19.94 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.01399, allocations: 4 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.01399, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.01412, allocations: 157.5 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01412, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.01442, allocations: 43.86 kB / 382.3 MB, free: 13.65 MB / 362.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 (5): * Single equations (assignments): 5 * 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.003429/0.01785, allocations: 0.5167 MB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01809, allocations: 47.66 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01809, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.0182, allocations: 39.61 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.01855, allocations: 26.34 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.01911, allocations: 177.9 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.01923, allocations: 75.33 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.01929, allocations: 7.984 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.01934, allocations: 16.5 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01934, allocations: 4 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Templates: time 0.006113/0.02546, allocations: 1.833 MB / 385 MB, free: 11.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.815548402024433]