Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001708/0.001708, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001415/0.001415, allocations: 165.6 kB / 24.99 MB, free: 8.793 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.656 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.258/0.258, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.857e-05, allocations: 2.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001992/0.00201, allocations: 1.642 MB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003317, allocations: 1.274 MB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.003374, allocations: 3.938 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.003593, allocations: 27.78 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.003862, allocations: 87.72 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.004059, allocations: 115.6 kB / 381.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.004184, allocations: 59.84 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.004275, allocations: 15.98 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.00433, allocations: 31.91 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.004416, allocations: 27.84 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004431, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.004557, allocations: 95.81 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.004599, allocations: 11.94 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.004631, allocations: 23.91 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.004826, allocations: 127.6 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004828, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004829, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004833, allocations: 4 kB / 381.6 MB, free: 15.41 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.000456/0.005289, allocations: 432 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.005335, allocations: 8.031 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.005389, allocations: 8.891 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.005593, allocations: 140.5 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005605, allocations: 384 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.005632, allocations: 8.375 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.0058, allocations: 99.97 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.005812, allocations: 192 / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.005825, allocations: 8.125 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.005837, allocations: 7.984 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.00587, allocations: 4 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.00618, allocations: 275.8 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.006345, allocations: 42.98 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.00637, allocations: 15.69 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.006392, allocations: 3.938 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.006417, allocations: 41.47 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006418, allocations: 0 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003357/0.006753, allocations: 101.7 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.006791, allocations: 89.05 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.006908, allocations: 196.2 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.006918, allocations: 25.7 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.006966, allocations: 142.9 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006985, allocations: 19.86 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007017, allocations: 23.36 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.007121, allocations: 0.4884 MB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.007138, allocations: 11.98 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.007169, allocations: 49.08 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.007207, allocations: 27.62 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.007207, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.065e-05/0.007278, allocations: 61.62 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.00729, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007294, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.007307, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.00735, allocations: 19.97 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007356, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.007377, allocations: 7.984 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007384, allocations: 4 kB / 383.9 MB, free: 12.84 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 (5): * Single equations (assignments): 5 * 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.965e-05/0.007453, allocations: 160.5 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.007476, allocations: 15.88 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.007588, allocations: 70.08 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.00759, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007593, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.007598, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.007838, allocations: 333.6 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00784, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.007871, allocations: 15.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007874, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.007882, allocations: 4 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007882, allocations: 4 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007883, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.007987, allocations: 203.8 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.008, allocations: 15.94 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.008012, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.008047, allocations: 7.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.008082, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.008086, allocations: 3.984 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.498e-05/0.008151, allocations: 155.2 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008151, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.008345, allocations: 35.92 kB / 384.9 MB, free: 11.76 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 (5): * Single equations (assignments): 5 * 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.001013/0.009358, allocations: 483.9 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.009472, allocations: 35.67 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009474, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.009502, allocations: 27.61 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.009711, allocations: 22.92 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.01002, allocations: 169.9 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.01006, allocations: 66.39 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.0101, allocations: 19.97 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.01013, allocations: 20.48 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01013, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003434/0.01357, allocations: 1.845 MB / 387.6 MB, free: 9.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.1959421869833022]