Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.0009257/0.0009257, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001016/0.001016, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9948/0.9948, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2485/0.2485, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 323.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.81e-05, allocations: 9.297 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002049/0.002067, allocations: 1.677 MB / 324.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.002836, allocations: 0.5529 MB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.002898, allocations: 0 / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.003139, allocations: 43.69 kB / 325.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.003369, allocations: 83.55 kB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.003589, allocations: 115.7 kB / 325.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003717, allocations: 87.77 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.003809, allocations: 31.91 kB / 325.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.003871, allocations: 47.88 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.003943, allocations: 27.92 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003956, allocations: 4 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.004028, allocations: 47.91 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.004069, allocations: 23.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004096, allocations: 24.53 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004231, allocations: 99.53 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.004232, allocations: 0 / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004233, allocations: 4 kB / 326.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.004236, allocations: 4 kB / 326.1 MB, free: 6.773 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003048/0.004541, allocations: 301.6 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.00457, allocations: 12.03 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.004596, allocations: 8.938 kB / 326.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.004711, allocations: 145.5 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.004718, allocations: 4.375 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.004738, allocations: 8.375 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.631e-05/0.004824, allocations: 70.92 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.004831, allocations: 192 / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004838, allocations: 4.125 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.004842, allocations: 4 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.004868, allocations: 15.98 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.005087, allocations: 203 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.005141, allocations: 38.56 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.005161, allocations: 16.8 kB / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.005176, allocations: 4 kB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005194, allocations: 34.7 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/0.005196, allocations: 7.922 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004435/0.00564, allocations: 209.3 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.005665, allocations: 55.41 kB / 327.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.005751, allocations: 155.3 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005761, allocations: 25.7 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.005792, allocations: 96.06 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.005822, allocations: 47.56 kB / 327.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.005854, allocations: 25.72 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.005932, allocations: 330.7 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.005949, allocations: 11.98 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.005966, allocations: 15.94 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.006012, allocations: 46.91 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006013, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.072e-05/0.006083, allocations: 69.67 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.006093, allocations: 4 kB / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006098, allocations: 0 / 328 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.006106, allocations: 4 kB / 328 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.006174, allocations: 23.92 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.006178, allocations: 4 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.006197, allocations: 11.92 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.006204, allocations: 4 kB / 328.1 MB, free: 4.641 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 (13): * Single equations (assignments): 13 * 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.145e-05/0.006255, allocations: 116.7 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.006273, allocations: 11.98 kB / 328.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.006395, allocations: 99.06 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006397, allocations: 0 / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.0064, allocations: 7.984 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.006403, allocations: 0 / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.006648, allocations: 291.4 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00665, allocations: 0 / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.006691, allocations: 19.98 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.006695, allocations: 8.031 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.006699, allocations: 0 / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.006701, allocations: 3.938 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006702, allocations: 3.938 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.006793, allocations: 177.3 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.006801, allocations: 11.91 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.006811, allocations: 0 / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.006847, allocations: 11.94 kB / 328.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.006869, allocations: 7.984 kB / 328.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.006874, allocations: 4 kB / 328.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.103e-05/0.006905, allocations: 43.64 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006905, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.007039, allocations: 27.94 kB / 328.9 MB, free: 3.746 MB / 298.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 (13): * Single equations (assignments): 13 * 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.001159/0.008198, allocations: 0.5813 MB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.008288, allocations: 48.77 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.00829, allocations: 0 / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.00832, allocations: 36.66 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.008458, allocations: 19.94 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.008744, allocations: 244 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.00878, allocations: 71.33 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.008818, allocations: 16.55 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.008875, allocations: 67.36 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008876, allocations: 0 / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of Templates: time 0.00308/0.01196, allocations: 1.736 MB / 331.7 MB, free: 1.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.9995891181752086]