Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001043/0.001043, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009069/0.0009069, allocations: 169.3 kB / 24.82 MB, free: 8.863 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.9444/0.9444, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.2244/0.2244, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.557e-05, allocations: 2.312 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001878/0.001894, allocations: 1.653 MB / 378.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.002561, allocations: 0.5259 MB / 378.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.002613, allocations: 7.938 kB / 378.7 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.00283, allocations: 67.72 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.003065, allocations: 107.5 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.00326, allocations: 87.69 kB / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003394, allocations: 91.69 kB / 379 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.003491, allocations: 15.92 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.003561, allocations: 47.89 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.003644, allocations: 39.89 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.003657, allocations: 4 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.003727, allocations: 39.98 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.003765, allocations: 27.91 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.003785, allocations: 7.938 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003909, allocations: 99.53 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003911, allocations: 0 / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003911, allocations: 4 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.003915, allocations: 0 / 379.3 MB, free: 1.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003062/0.004221, allocations: 435.9 kB / 379.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.004252, allocations: 12.03 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.00428, allocations: 16.88 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.004397, allocations: 144.4 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.004404, allocations: 384 / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.00442, allocations: 8.312 kB / 379.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.004502, allocations: 58.94 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.004509, allocations: 192 / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.004516, allocations: 4.125 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.004519, allocations: 0 / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.004539, allocations: 15.98 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.004744, allocations: 256.5 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.004791, allocations: 42.97 kB / 380.3 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.004806, allocations: 11.69 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.004826, allocations: 4 kB / 380.3 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.004846, allocations: 45.41 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004847, allocations: 0 / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003687/0.005215, allocations: 157.3 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.005239, allocations: 63.34 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.005371, allocations: 226.5 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005382, allocations: 29.7 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.005434, allocations: 150.8 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.00546, allocations: 27.73 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.005489, allocations: 31.36 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.005597, allocations: 0.4923 MB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.005609, allocations: 4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.005623, allocations: 12.06 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/0.005658, allocations: 31.81 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005659, allocations: 7.938 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.974e-05/0.005729, allocations: 73.59 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00574, allocations: 11.94 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005743, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.005752, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.005806, allocations: 15.98 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.005808, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.005825, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.005829, allocations: 0 / 381.7 MB, free: 14.98 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 (8): * Single equations (assignments): 8 * 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 5.904e-05/0.005888, allocations: 168.5 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.005907, allocations: 15.95 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.006006, allocations: 83.06 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006008, allocations: 4 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.00601, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006012, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.006249, allocations: 341.6 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00625, allocations: 0 / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.006284, allocations: 19.98 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006285, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.00629, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006291, allocations: 4.031 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006292, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.006399, allocations: 231.4 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.006408, allocations: 11.91 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.006418, allocations: 4 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.006452, allocations: 7.984 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.006471, allocations: 4 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.006476, allocations: 7.984 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.006534, allocations: 159.8 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006534, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.006688, allocations: 23.94 kB / 382.7 MB, free: 13.83 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 (8): * Single equations (assignments): 8 * 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.0007654/0.007453, allocations: 439.8 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.007527, allocations: 43.59 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007528, allocations: 0 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.007557, allocations: 27.61 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.007744, allocations: 15.98 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.008024, allocations: 222.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.008069, allocations: 71.34 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.392e-05/0.008103, allocations: 17.02 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.008156, allocations: 82.19 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008157, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.002799/0.01096, allocations: 1.509 MB / 385.2 MB, free: 11.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.747469747904688]