Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001049/0.001049, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001197/0.001197, allocations: 161 kB / 24.56 MB, free: 20 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.637 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.3086/0.3086, allocations: 32.8 MB / 294.3 MB, free: 1.293 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.069e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002731/0.002762, allocations: 1.665 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.00363, allocations: 0.5298 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.0037, allocations: 4 kB / 378.2 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.003964, allocations: 79.69 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.004267, allocations: 103.5 kB / 378.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.004527, allocations: 95.56 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.0047, allocations: 87.75 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.004788, allocations: 7.984 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.004854, allocations: 51.89 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.004943, allocations: 55.86 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004956, allocations: 0 / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.005045, allocations: 51.86 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.00509, allocations: 23.92 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.005116, allocations: 11.92 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.005273, allocations: 91.72 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005276, allocations: 3.938 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.005277, allocations: 0 / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.005281, allocations: 4 kB / 378.9 MB, free: 1.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000474/0.005755, allocations: 435.9 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.005791, allocations: 8.031 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.005831, allocations: 16.84 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.00596, allocations: 149.1 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.005969, allocations: 4.375 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005991, allocations: 4.375 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.006108, allocations: 62.94 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.006116, allocations: 192 / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.006125, allocations: 4.125 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006131, allocations: 0 / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.006163, allocations: 15.98 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.006459, allocations: 299.6 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.00652, allocations: 39.05 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.006542, allocations: 19.62 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.006563, allocations: 0 / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.006584, allocations: 37.39 kB / 380 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.006585, allocations: 0 / 380 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005346/0.007119, allocations: 169.8 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.007145, allocations: 55.34 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.007283, allocations: 238.4 kB / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.007294, allocations: 25.7 kB / 380.4 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.007373, allocations: 158.8 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.007399, allocations: 23.89 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.007436, allocations: 31.34 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.00763, allocations: 0.504 MB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.007653, allocations: 4 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.007678, allocations: 15.98 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.007726, allocations: 31.91 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007727, allocations: 4 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.00783, allocations: 81.53 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007843, allocations: 4 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007848, allocations: 0 / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.007861, allocations: 0 / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.007949, allocations: 15.98 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.007954, allocations: 4 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.007975, allocations: 4 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.007984, allocations: 7.984 kB / 381.3 MB, free: 15.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 8.528e-05/0.008069, allocations: 168.4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.008097, allocations: 19.91 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.008247, allocations: 91.06 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.00825, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008253, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008257, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.008567, allocations: 373 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008569, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.008617, allocations: 12 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.00862, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.008628, allocations: 11.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008631, allocations: 4.031 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008633, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.008755, allocations: 239.4 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.008766, allocations: 7.953 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.008778, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.008816, allocations: 11.92 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.008841, allocations: 7.938 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.008846, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.008921, allocations: 171.1 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008921, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.009089, allocations: 20 kB / 382.4 MB, free: 13.93 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.0009075/0.009997, allocations: 446.4 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.01012, allocations: 39.67 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01012, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.01015, allocations: 31.61 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01037, allocations: 23.94 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.01071, allocations: 233.9 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.01075, allocations: 71.33 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.01078, allocations: 13.03 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.01081, allocations: 16.48 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01081, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003261/0.01407, allocations: 1.37 MB / 384.7 MB, free: 11.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.3511548503302038]