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.0009488/0.0009488, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001026/0.001026, allocations: 175.2 kB / 24.92 MB, free: 8.723 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2734/0.2734, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.154e-06/2.154e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.132e-05, allocations: 3.188 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004094/0.004126, allocations: 1.755 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.005333, allocations: 0.5723 MB / 325.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.005424, allocations: 7.938 kB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.005742, allocations: 63.72 kB / 325.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.006116, allocations: 91.53 kB / 325.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.006668, allocations: 179.5 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.00688, allocations: 91.73 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.006996, allocations: 16.22 kB / 326.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.007099, allocations: 51.83 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.007207, allocations: 35.89 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.007226, allocations: 4 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.007356, allocations: 55.91 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.007433, allocations: 23.86 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.007468, allocations: 27.91 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.007682, allocations: 95.66 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007686, allocations: 0 / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007687, allocations: 3.938 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007693, allocations: 0 / 326.3 MB, free: 6.586 MB / 298.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.0004295/0.008122, allocations: 325.4 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.008162, allocations: 8.031 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.008203, allocations: 8.938 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.00839, allocations: 138.3 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.008403, allocations: 4.375 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.008426, allocations: 4.375 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.008563, allocations: 74.86 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.008574, allocations: 192 / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.008585, allocations: 4.125 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.008591, allocations: 0 / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.008626, allocations: 8 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.008958, allocations: 194.9 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.00912, allocations: 42.53 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.009144, allocations: 12.86 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.009163, allocations: 4 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.009191, allocations: 34.5 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.009192, allocations: 0 / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007268/0.009919, allocations: 218.5 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.009951, allocations: 51.41 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.0101, allocations: 174.1 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.01011, allocations: 29.7 kB / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.01016, allocations: 96.09 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.0102, allocations: 31.7 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01026, allocations: 29.69 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01036, allocations: 326.8 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.01039, allocations: 8 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.01042, allocations: 12.97 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.01049, allocations: 40.88 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01049, allocations: 4 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001248/0.01061, allocations: 77.55 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01063, allocations: 4 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01064, allocations: 7.984 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01065, allocations: 0 / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.01075, allocations: 23.98 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01075, allocations: 0 / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.01079, allocations: 4 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.0108, allocations: 4 kB / 328.3 MB, free: 4.465 MB / 298.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.942e-05/0.01088, allocations: 120.5 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.01092, allocations: 15.98 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.01109, allocations: 93.08 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01109, allocations: 4 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01109, allocations: 0 / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0111, allocations: 4 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.01149, allocations: 280.3 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.01149, allocations: 4 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.01157, allocations: 19.98 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.01158, allocations: 7.938 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.01159, allocations: 0 / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.01159, allocations: 3.984 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01159, allocations: 4.062 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.01175, allocations: 185.2 kB / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.01178, allocations: 11.91 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01179, allocations: 0 / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.01186, allocations: 11.98 kB / 329.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.01191, allocations: 11.92 kB / 329.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01191, allocations: 4 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.01198, allocations: 52.33 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01198, allocations: 0 / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01226, allocations: 24 kB / 329.1 MB, free: 3.551 MB / 298.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.001926/0.01419, allocations: 0.5829 MB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01434, allocations: 56.66 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.01435, allocations: 4 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.0144, allocations: 28.78 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.01468, allocations: 29.73 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.01523, allocations: 260.9 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.524e-05/0.01529, allocations: 75.33 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.01537, allocations: 16.61 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.01546, allocations: 67.39 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01546, allocations: 0 / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Templates: time 0.004816/0.02028, allocations: 1.746 MB / 332 MB, free: 0.9609 MB / 298.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 -s gbode -gbm=radauIIA3 -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.0515379938296974]