Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0009272/0.0009272, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009673/0.0009673, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9305/0.9305, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2189/0.2189, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.044e-05, allocations: 2.312 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001782/0.001793, allocations: 1.641 MB / 378.1 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.002427, allocations: 0.5531 MB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.002478, allocations: 0 / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.002641, allocations: 23.73 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.002841, allocations: 79.61 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.003036, allocations: 119.5 kB / 378.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003145, allocations: 67.84 kB / 379 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.003214, allocations: 11.97 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.003269, allocations: 31.92 kB / 379 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.00333, allocations: 35.89 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003343, allocations: 4 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.003459, allocations: 99.75 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.003492, allocations: 11.94 kB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.003513, allocations: 15.92 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003679, allocations: 135.5 kB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003681, allocations: 3.984 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003682, allocations: 0 / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.003685, allocations: 0 / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000321/0.004006, allocations: 435.9 kB / 379.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.004035, allocations: 12.03 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.004062, allocations: 8.891 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.004171, allocations: 140.5 kB / 379.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.004179, allocations: 4.375 kB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.004194, allocations: 4.375 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.004291, allocations: 99.97 kB / 380 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004299, allocations: 192 / 380 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004306, allocations: 4.125 kB / 380 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004312, allocations: 4 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.004332, allocations: 11.98 kB / 380 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.004564, allocations: 264.4 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.00461, allocations: 46.97 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.004625, allocations: 11.69 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.004643, allocations: 4.078 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004664, allocations: 41.39 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004665, allocations: 3.938 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002496/0.004914, allocations: 101.4 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.004942, allocations: 81.11 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.00505, allocations: 199.7 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.00506, allocations: 29.7 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.005102, allocations: 138.9 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.00512, allocations: 27.78 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.005151, allocations: 31.36 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.005246, allocations: 496.1 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.00526, allocations: 7.984 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.005294, allocations: 61 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.005328, allocations: 27.67 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005329, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.015e-05/0.005399, allocations: 69.8 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.005408, allocations: 8.031 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.005411, allocations: 4 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.00542, allocations: 0 / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.005474, allocations: 24.2 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005478, allocations: 4.062 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.005499, allocations: 7.953 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005503, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.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.646e-05/0.005559, allocations: 160.6 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.005579, allocations: 11.89 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/0.00567, allocations: 74.44 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005672, allocations: 4 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.005673, allocations: 0 / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005676, allocations: 3.984 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.005886, allocations: 317.9 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005886, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.005917, allocations: 19.92 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.005918, allocations: 0 / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.005925, allocations: 8 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.005926, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005927, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.815e-05/0.006025, allocations: 211.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006034, allocations: 11.95 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.006044, allocations: 3.938 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.006082, allocations: 15.98 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.006099, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.006102, allocations: 4 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.006149, allocations: 149.2 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006149, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.006334, allocations: 47.86 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009477/0.007282, allocations: 493.2 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.797e-05/0.007359, allocations: 35.67 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007361, allocations: 0 / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.007382, allocations: 27.61 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.007789, allocations: 34.62 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.008017, allocations: 182.3 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.008047, allocations: 59.34 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.008084, allocations: 17.02 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.008147, allocations: 94.12 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008148, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Templates: time 0.003176/0.01132, allocations: 2.257 MB / 385.9 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.9255273900926113]