Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.00101/0.00101, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001101/0.001101, allocations: 166.8 kB / 24.99 MB, free: 8.336 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2739/0.2739, allocations: 34.26 MB / 296 MB, free: 0.7266 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.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.179e-05, allocations: 2.312 kB / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002623/0.002645, allocations: 1.649 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.003517, allocations: 0.5453 MB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.003583, allocations: 0 / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.003848, allocations: 75.7 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.004116, allocations: 99.52 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.004374, allocations: 111.6 kB / 380.5 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.004528, allocations: 87.8 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.004622, allocations: 12 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.004691, allocations: 43.88 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.004782, allocations: 47.83 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.004796, allocations: 4 kB / 380.7 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.004883, allocations: 47.92 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.004929, allocations: 19.86 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004962, allocations: 19.92 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005122, allocations: 83.67 kB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005124, allocations: 0 / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005125, allocations: 0 / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00513, allocations: 4 kB / 380.9 MB, free: 92 kB / 346.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.0004328/0.005562, allocations: 447.8 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.005598, allocations: 12.03 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.005645, allocations: 12.89 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005792, allocations: 141.1 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.005803, allocations: 8.312 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.005823, allocations: 384 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.005941, allocations: 62.94 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.00595, allocations: 192 / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.00596, allocations: 4.125 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.005968, allocations: 4 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.006008, allocations: 19.92 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.006328, allocations: 287.8 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.006399, allocations: 43.05 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.006426, allocations: 15.72 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.868e-05/0.006444, allocations: 3.984 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.006471, allocations: 37.33 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.006472, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.007031, allocations: 177.7 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.007076, allocations: 55.41 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.007247, allocations: 230.6 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.007257, allocations: 25.7 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.007324, allocations: 154.8 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.007352, allocations: 27.78 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.007393, allocations: 27.38 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.007523, allocations: 0.5 MB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.007548, allocations: 7.984 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.007571, allocations: 8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.00763, allocations: 43.69 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007631, allocations: 0 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.007746, allocations: 81.58 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007761, allocations: 7.984 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007765, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.00778, allocations: 4 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.007856, allocations: 12 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.007861, allocations: 0 / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.00789, allocations: 7.984 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.007896, allocations: 3.938 kB / 383.3 MB, free: 13.45 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 8.821e-05/0.007985, allocations: 172.5 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.008015, allocations: 11.91 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.008165, allocations: 83.14 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008167, allocations: 4 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.008171, allocations: 3.984 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008173, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.008502, allocations: 377.4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008504, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.00855, allocations: 15.98 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008554, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.008561, allocations: 7.969 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.008562, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008563, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.008705, allocations: 247.5 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.008715, allocations: 7.938 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.008729, allocations: 4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.008784, allocations: 4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008817, allocations: 15.92 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.008823, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.008905, allocations: 163.9 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008905, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.009146, allocations: 27.88 kB / 384.4 MB, free: 12.23 MB / 362.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.000998/0.01014, allocations: 419.4 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01026, allocations: 47.64 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01026, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.0103, allocations: 27.62 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01057, allocations: 27.92 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01094, allocations: 238.2 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.01098, allocations: 71.34 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01103, allocations: 17.02 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.01107, allocations: 20.48 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01107, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003517/0.01459, allocations: 1.405 MB / 386.7 MB, free: 10.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.156683340901509]