Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.0009487/0.0009487, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009433/0.0009433, allocations: 164.5 kB / 24.99 MB, free: 8.793 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2994/0.2994, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 376 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.858e-05/4.104e-05, allocations: 5.688 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003982/0.004023, allocations: 1.72 MB / 377.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.00519, allocations: 0.5608 MB / 378.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.00528, allocations: 4 kB / 378.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.00559, allocations: 71.59 kB / 378.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.006093, allocations: 91.53 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.006501, allocations: 175.5 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.006676, allocations: 91.7 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.006816, allocations: 16.2 kB / 378.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.006884, allocations: 43.91 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.006975, allocations: 51.86 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.006991, allocations: 4 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.007086, allocations: 47.92 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.007152, allocations: 35.91 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.007183, allocations: 11.94 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.007366, allocations: 107.5 kB / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007369, allocations: 0 / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.007371, allocations: 0 / 379 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007376, allocations: 0 / 379 MB, free: 1.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004511/0.007827, allocations: 443.9 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.007864, allocations: 12.03 kB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.007913, allocations: 8.891 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.008073, allocations: 156.3 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.008084, allocations: 4.375 kB / 379.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.008107, allocations: 8.375 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.008237, allocations: 62.94 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.008248, allocations: 192 / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.00826, allocations: 12.12 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.00827, allocations: 0 / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.008312, allocations: 19.86 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.008676, allocations: 307.6 kB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.008881, allocations: 59.02 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.00891, allocations: 15.69 kB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.00893, allocations: 0 / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.008955, allocations: 37.52 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.008956, allocations: 0 / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006568/0.009613, allocations: 241.6 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.00965, allocations: 59.34 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.00979, allocations: 230.6 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.009803, allocations: 29.7 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.009883, allocations: 162.8 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.009913, allocations: 31.7 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.009953, allocations: 35.36 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01011, allocations: 0.4961 MB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.01015, allocations: 19.98 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.01017, allocations: 11.94 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.01025, allocations: 51.67 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01025, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001176/0.01037, allocations: 97.86 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01038, allocations: 11.94 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01038, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.0104, allocations: 0 / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.01046, allocations: 23.98 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01046, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.01049, allocations: 11.92 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.0105, allocations: 4 kB / 381.7 MB, free: 15.07 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 (11): * Single equations (assignments): 11 * 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.544e-05/0.01057, allocations: 160.5 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.01059, allocations: 15.95 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.01076, allocations: 115 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01077, allocations: 7.984 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01077, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01078, allocations: 0 / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.01112, allocations: 416.6 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01112, allocations: 4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.01117, allocations: 19.98 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01118, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01119, allocations: 3.984 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01119, allocations: 8 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01119, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01135, allocations: 267.1 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.01135, allocations: 7.953 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.01137, allocations: 192 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.01141, allocations: 15.94 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.01145, allocations: 7.984 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01146, allocations: 4 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.544e-05/0.01153, allocations: 167.8 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01153, allocations: 0 / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01171, allocations: 24 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009363/0.01265, allocations: 441.6 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01278, allocations: 63.59 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01278, allocations: 3.938 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.01283, allocations: 35.61 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01306, allocations: 24.2 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.01348, allocations: 285.9 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.01353, allocations: 75.33 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.01359, allocations: 28.45 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.01363, allocations: 16.5 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01363, allocations: 0 / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003437/0.01706, allocations: 1.663 MB / 385.5 MB, free: 11.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.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.232640288071707]