Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001164/0.001164, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001867/0.001867, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9064/0.9064, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1224/0.1224, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.637e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001925/0.001951, allocations: 1.736 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.00312, allocations: 1.524 MB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.00319, allocations: 3.938 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.003513, allocations: 31.83 kB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.003763, allocations: 67.62 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.003927, allocations: 83.7 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.004056, allocations: 99.67 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.004137, allocations: 8.234 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.004207, allocations: 55.78 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.004293, allocations: 31.89 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004312, allocations: 4 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.004398, allocations: 63.89 kB / 351.5 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.004445, allocations: 15.92 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.00448, allocations: 19.94 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.004655, allocations: 111.6 kB / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004657, allocations: 3.938 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004658, allocations: 0 / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004662, allocations: 3.938 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003931/0.005055, allocations: 440 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005093, allocations: 8.031 kB / 352 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.005138, allocations: 8.891 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.00528, allocations: 148.5 kB / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.005298, allocations: 384 / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.005317, allocations: 4.375 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005452, allocations: 108 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005463, allocations: 3.938 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005473, allocations: 4 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.005482, allocations: 4 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.005514, allocations: 11.98 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.005761, allocations: 271.8 kB / 352.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.921e-05/0.00586, allocations: 59.09 kB / 352.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.00589, allocations: 23.61 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.005902, allocations: 0 / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.374e-05/0.005986, allocations: 73.05 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005987, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00035/0.006337, allocations: 153.3 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.006362, allocations: 89.09 kB / 353 MB, free: 3.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.006454, allocations: 205.4 kB / 353.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.006463, allocations: 33.64 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.006499, allocations: 138.9 kB / 353.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.006525, allocations: 27.78 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.006553, allocations: 27.38 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.006602, allocations: 0.4923 MB / 353.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.006623, allocations: 12 kB / 353.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.006655, allocations: 68.69 kB / 354 MB, free: 2.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.006702, allocations: 59.33 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006704, allocations: 4 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.856e-05/0.006792, allocations: 89.53 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006804, allocations: 4 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006809, allocations: 4 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006822, allocations: 0 / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.006886, allocations: 15.98 kB / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.006891, allocations: 0 / 354.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.006917, allocations: 8 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006923, allocations: 4 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.746e-05/0.00697, allocations: 176.5 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.006983, allocations: 7.953 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007102, allocations: 106.5 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007104, allocations: 0 / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007106, allocations: 0 / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.00711, allocations: 3.984 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.007308, allocations: 381 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007309, allocations: 0 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.00733, allocations: 12 kB / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007332, allocations: 0 / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007339, allocations: 8.031 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007341, allocations: 4 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007342, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.007441, allocations: 259.4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007452, allocations: 7.938 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.007475, allocations: 4 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.007515, allocations: 4 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.007546, allocations: 7.984 kB / 355.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.007557, allocations: 4 kB / 355.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.007602, allocations: 166.5 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007602, allocations: 4 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.007771, allocations: 31.94 kB / 355.3 MB, free: 1.434 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009935/0.008764, allocations: 491.9 kB / 355.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.00889, allocations: 47.67 kB / 355.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008892, allocations: 4 kB / 355.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.008928, allocations: 35.67 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.009136, allocations: 31.83 kB / 355.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.009427, allocations: 201 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.009456, allocations: 67.25 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.009491, allocations: 16.48 kB / 356.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.009523, allocations: 16.5 kB / 356.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009524, allocations: 4.062 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Templates: time 0.004268/0.01379, allocations: 2.294 MB / 358.5 MB, free: 14.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.3522260431200266]