Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001423/0.001423, allocations: 80.8 kB / 21.5 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.001689/0.001689, allocations: 173.4 kB / 24.91 MB, free: 8.766 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.051/1.051, 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.2649/0.2649, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.593e-05, allocations: 4.703 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002154/0.00217, allocations: 1.695 MB / 325 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.002876, allocations: 0.5413 MB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.00292, allocations: 0 / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.003125, allocations: 91.62 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.003326, allocations: 111.5 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.00358, allocations: 95.69 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.003702, allocations: 91.67 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/0.003768, allocations: 19.92 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.003827, allocations: 39.89 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.003896, allocations: 47.89 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.003907, allocations: 4 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.003975, allocations: 47.91 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.004008, allocations: 19.92 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.004028, allocations: 11.94 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.004149, allocations: 91.66 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00415, allocations: 4 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004151, allocations: 3.938 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004155, allocations: 4 kB / 326.2 MB, free: 6.723 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002737/0.004428, allocations: 329.3 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.004455, allocations: 8.031 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.004477, allocations: 4.938 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.004822, allocations: 141.6 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.004829, allocations: 4.375 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.004845, allocations: 4.375 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.004919, allocations: 58.94 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.00493, allocations: 16.12 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004937, allocations: 8.062 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.004941, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.004962, allocations: 11.98 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.005134, allocations: 159.8 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.005175, allocations: 34.62 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.005189, allocations: 12.8 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005202, allocations: 0 / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.005219, allocations: 38.44 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.00522, allocations: 0 / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003561/0.005576, allocations: 149.5 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.005598, allocations: 51.41 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.005703, allocations: 192.2 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.005716, allocations: 25.7 kB / 327.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.005748, allocations: 100 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.00577, allocations: 27.78 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.005796, allocations: 21.72 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.005866, allocations: 326.8 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.005876, allocations: 4 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.005888, allocations: 11.98 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.005921, allocations: 32.77 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005922, allocations: 0 / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.922e-05/0.005981, allocations: 61.61 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.00599, allocations: 4 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005994, allocations: 0 / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.006003, allocations: 0 / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.006056, allocations: 12.42 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.00606, allocations: 7.984 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.006075, allocations: 0 / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.006082, allocations: 11.94 kB / 328 MB, free: 4.73 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 (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 5.361e-05/0.006135, allocations: 112.7 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.006154, allocations: 11.92 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.58e-05/0.00624, allocations: 79.39 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006243, allocations: 3.984 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006244, allocations: 0 / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006246, allocations: 0 / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.006451, allocations: 255.5 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006452, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.006486, allocations: 19.97 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006487, allocations: 3.938 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.006496, allocations: 15.98 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006497, allocations: 0 / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006498, allocations: 0 / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.77e-05/0.006576, allocations: 160.3 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.006585, allocations: 11.91 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006596, allocations: 4 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.006628, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.006654, allocations: 11.92 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.006657, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.006699, allocations: 59.64 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006699, allocations: 0 / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.00683, allocations: 23.94 kB / 328.8 MB, free: 3.898 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 (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.001185/0.008015, allocations: 0.5727 MB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.052e-05/0.008086, allocations: 36.72 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.008089, allocations: 0 / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.008111, allocations: 24.98 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.00826, allocations: 22.48 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.00868, allocations: 239.5 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.008716, allocations: 67.33 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.008749, allocations: 12.8 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.008796, allocations: 63.36 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008797, allocations: 0 / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of Templates: time 0.002742/0.01154, allocations: 1.488 MB / 331.3 MB, free: 1.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.107833326794207]