Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001101/0.001101, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001213/0.001213, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.982e-05, allocations: 5.688 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002052/0.002072, allocations: 1.649 MB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.002788, allocations: 0.5531 MB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.002843, allocations: 4 kB / 380.3 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.003057, allocations: 31.77 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.003314, allocations: 71.58 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003559, allocations: 119.6 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003687, allocations: 75.77 kB / 380.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.003776, allocations: 8 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.003833, allocations: 43.83 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.003899, allocations: 19.92 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.003914, allocations: 4 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.004057, allocations: 95.81 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.004103, allocations: 19.91 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.004129, allocations: 12 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.004332, allocations: 143.5 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.004335, allocations: 4 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004335, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.004339, allocations: 4 kB / 380.9 MB, free: 15.79 MB / 362.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.0004046/0.004744, allocations: 427.9 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.00478, allocations: 12.03 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.004825, allocations: 12.88 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.004966, allocations: 138.5 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.004977, allocations: 384 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.004999, allocations: 8.312 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.005155, allocations: 100 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005165, allocations: 192 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005176, allocations: 4.125 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005183, allocations: 4 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.005209, allocations: 12 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.005537, allocations: 287.7 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.858e-05/0.005605, allocations: 43.05 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.00563, allocations: 11.69 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.005648, allocations: 4.078 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.005672, allocations: 45.33 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.005672, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004277/0.0061, allocations: 121.4 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.006143, allocations: 77.11 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.006277, allocations: 197.9 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006291, allocations: 29.64 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.006349, allocations: 142.9 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.006374, allocations: 27.75 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.006417, allocations: 27.36 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.006519, allocations: 0.4884 MB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.00654, allocations: 7.984 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.00658, allocations: 61.06 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.006626, allocations: 35.91 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006627, allocations: 4.031 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003584/0.006985, allocations: 73.56 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.006999, allocations: 10.19 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007004, allocations: 3.938 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007018, allocations: 0 / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.007094, allocations: 19.98 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007099, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.007121, allocations: 7.938 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.007128, allocations: 4 kB / 383.3 MB, free: 13.14 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 6.308e-05/0.007192, allocations: 156.6 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.007214, allocations: 16.17 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.007323, allocations: 78.39 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007327, allocations: 7.969 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00733, allocations: 4 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007334, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.007581, allocations: 349.3 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007582, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.007615, allocations: 12 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007617, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.007623, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007626, allocations: 8 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.007628, allocations: 3.984 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.007731, allocations: 211.8 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.00774, allocations: 11.95 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.007751, allocations: 0 / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.007783, allocations: 4 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.007812, allocations: 11.92 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007815, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.007878, allocations: 155.2 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007878, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.008071, allocations: 39.86 kB / 384.3 MB, free: 12.01 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.001014/0.009085, allocations: 0.4943 MB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.009193, allocations: 35.67 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009195, allocations: 4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.009222, allocations: 31.75 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009417, allocations: 32.06 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.009712, allocations: 186.3 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.009749, allocations: 63.34 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.009794, allocations: 20.7 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.009827, allocations: 20.5 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.009828, allocations: 0 / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003873/0.0137, allocations: 2.222 MB / 387.5 MB, free: 9.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.3088575121946633]