Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001196/0.001196, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001405/0.001405, allocations: 165 kB / 24.56 MB, free: 12 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.625 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.2816/0.2816, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.426e-05, allocations: 5.688 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00219/0.002215, allocations: 1.657 MB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003523, allocations: 1.286 MB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.003579, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.003737, allocations: 31.72 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.00398, allocations: 83.55 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.00423, allocations: 119.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.004341, allocations: 79.81 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.004407, allocations: 15.94 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.004457, allocations: 51.83 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.004545, allocations: 27.91 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004559, allocations: 4 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.004701, allocations: 95.81 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.004735, allocations: 15.92 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.004761, allocations: 23.92 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.00495, allocations: 135.6 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004953, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004954, allocations: 3.938 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004958, allocations: 0 / 381.7 MB, free: 15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003228/0.00528, allocations: 435.9 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005314, allocations: 12.03 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.005355, allocations: 16.84 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005482, allocations: 142.2 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.005488, allocations: 384 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.005519, allocations: 8.375 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.005651, allocations: 112 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.005659, allocations: 192 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005667, allocations: 4.125 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005672, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.005705, allocations: 19.98 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.005979, allocations: 307.6 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.006039, allocations: 46.98 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.006061, allocations: 15.69 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.006077, allocations: 8.125 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.006094, allocations: 33.48 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.006095, allocations: 3.938 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003246/0.006419, allocations: 129.4 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.006458, allocations: 77.11 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.006573, allocations: 208.6 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006585, allocations: 33.7 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.006637, allocations: 142.8 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.006663, allocations: 31.73 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.006694, allocations: 23.38 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.006823, allocations: 0.4961 MB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.006846, allocations: 15.98 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.006891, allocations: 49.08 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.006944, allocations: 47.88 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.006945, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.025e-05/0.007035, allocations: 77.58 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007046, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.00705, allocations: 4.031 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.007059, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.007119, allocations: 19.98 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007123, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.007144, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.00715, allocations: 4 kB / 384.2 MB, free: 12.27 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 7.25e-05/0.007223, allocations: 164.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.007245, allocations: 7.953 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.007376, allocations: 94.31 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.007388, allocations: 7.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007391, allocations: 4 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007393, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.007663, allocations: 357.3 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007664, allocations: 0 / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.007699, allocations: 19.98 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.007702, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007707, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007708, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.00771, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007829, allocations: 232 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.00784, allocations: 15.95 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.007851, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.007885, allocations: 11.88 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.007904, allocations: 3.984 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007908, allocations: 4 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.007973, allocations: 159.1 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007973, allocations: 0 / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.008161, allocations: 39.86 kB / 385.3 MB, free: 11.09 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 (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.0009576/0.009119, allocations: 483.9 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.009221, allocations: 51.62 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009222, allocations: 0 / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.00925, allocations: 23.62 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009434, allocations: 23.98 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.00974, allocations: 198.2 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.009781, allocations: 63.34 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.009829, allocations: 21.02 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.009876, allocations: 24.48 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.009876, allocations: 3.938 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.00359/0.01347, allocations: 2.117 MB / 388.2 MB, free: 8.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.259543905965984]