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.0007482/0.0007482, allocations: 80.92 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.0008575/0.0008575, allocations: 168.1 kB / 24.91 MB, free: 9.152 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.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2543/0.2543, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.694e-06/1.694e-06, allocations: 0 / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.706e-05, allocations: 6.797 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003235/0.003262, allocations: 1.642 MB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.004286, allocations: 0.5336 MB / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.004351, allocations: 0 / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.004698, allocations: 107.5 kB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.005043, allocations: 111.5 kB / 325.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.005311, allocations: 87.69 kB / 325.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.005498, allocations: 87.73 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005613, allocations: 19.94 kB / 325.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.005709, allocations: 47.88 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005814, allocations: 47.88 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.005834, allocations: 4 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.005936, allocations: 43.92 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.005992, allocations: 19.92 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.006024, allocations: 19.88 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.006222, allocations: 87.66 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006225, allocations: 4 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006226, allocations: 0 / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006231, allocations: 0 / 326.1 MB, free: 6.801 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.0004212/0.006652, allocations: 333.3 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.006692, allocations: 8.031 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.00673, allocations: 12.92 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.00689, allocations: 141.6 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006901, allocations: 384 / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.00692, allocations: 4.375 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.007036, allocations: 70.84 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.007048, allocations: 8.125 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007058, allocations: 8.125 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.007063, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.007091, allocations: 8 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.007362, allocations: 175.7 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.007424, allocations: 30.5 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.007441, allocations: 8.859 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007459, allocations: 0 / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.007486, allocations: 42.5 kB / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007487, allocations: 0 / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.008005, allocations: 141.6 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.008034, allocations: 59.41 kB / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.008175, allocations: 184.2 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.008188, allocations: 25.7 kB / 327.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.008235, allocations: 104 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.008263, allocations: 19.8 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.008302, allocations: 29.69 kB / 327.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.008408, allocations: 322.8 kB / 327.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.008424, allocations: 7.938 kB / 327.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.00844, allocations: 4 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.008488, allocations: 32.81 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00849, allocations: 3.938 kB / 327.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.368e-05/0.008583, allocations: 61.62 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.008598, allocations: 4 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.008604, allocations: 0 / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.008619, allocations: 0 / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.008701, allocations: 19.92 kB / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.008708, allocations: 4 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.008737, allocations: 4 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.008746, allocations: 3.984 kB / 327.9 MB, free: 4.797 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 7.211e-05/0.008818, allocations: 112.7 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.00885, allocations: 11.94 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.00899, allocations: 91.36 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008992, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.008994, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008998, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.009326, allocations: 251.5 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009329, allocations: 0 / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.009387, allocations: 15.98 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.00939, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.009397, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.009401, allocations: 8 kB / 328.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009403, allocations: 4.031 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.009526, allocations: 164.7 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.009543, allocations: 15.91 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.009559, allocations: 3.984 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.009619, allocations: 4 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.009647, allocations: 11.97 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.009653, allocations: 0 / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.00972, allocations: 55.64 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00972, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.009956, allocations: 23.94 kB / 328.7 MB, free: 3.969 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.001875/0.01183, allocations: 0.574 MB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01194, allocations: 40.7 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01195, allocations: 4 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.01198, allocations: 20.84 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.01226, allocations: 20.3 kB / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.01275, allocations: 247.4 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.0128, allocations: 63.34 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.01285, allocations: 12.72 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.01292, allocations: 71.42 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01292, allocations: 0 / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of Templates: time 0.00437/0.01729, allocations: 1.476 MB / 331.2 MB, free: 1.699 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 -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.067484786733985]