Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.002214/0.002214, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002315/0.002315, allocations: 161.3 kB / 24.27 MB, free: 136 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.607/1.607, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3315/0.3315, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.372e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003218/0.003241, allocations: 1.61 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004438, allocations: 0.5414 MB / 377.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.004483, allocations: 0 / 377.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.00469, allocations: 27.84 kB / 377.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.004952, allocations: 75.56 kB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.005269, allocations: 115.6 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.005423, allocations: 71.77 kB / 377.7 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.005504, allocations: 11.98 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.005579, allocations: 27.92 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.005635, allocations: 15.97 kB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.005654, allocations: 7.938 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.00574, allocations: 31.92 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.005788, allocations: 8 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.005826, allocations: 19.88 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.006087, allocations: 79.7 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.00609, allocations: 4 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00609, allocations: 0 / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.006094, allocations: 0 / 377.9 MB, free: 2.328 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.0005684/0.006663, allocations: 427.7 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.006701, allocations: 8.031 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.00675, allocations: 8.891 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.006964, allocations: 140.4 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.006974, allocations: 4.312 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.006999, allocations: 8.375 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.007148, allocations: 46.23 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.007161, allocations: 192 / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.007171, allocations: 4.125 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.007175, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.007264, allocations: 23.98 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.007686, allocations: 275.8 kB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.007908, allocations: 54.98 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.007956, allocations: 11.69 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.007979, allocations: 7.938 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.008011, allocations: 33.39 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 4.027e-06/0.008015, allocations: 3.984 kB / 378.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005273/0.008542, allocations: 129.5 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.008587, allocations: 55.41 kB / 379.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.008799, allocations: 221.1 kB / 379.3 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.00882, allocations: 25.7 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.008938, allocations: 146.9 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.008964, allocations: 15.83 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.009016, allocations: 27.38 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004113/0.009427, allocations: 0.5 MB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.009486, allocations: 11.94 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.009541, allocations: 19.92 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.009661, allocations: 43.67 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.009662, allocations: 0 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001764/0.009838, allocations: 73.81 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.009852, allocations: 4 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.00987, allocations: 4.062 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.009884, allocations: 4 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.009945, allocations: 8 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00995, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.009988, allocations: 7.984 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.009994, allocations: 3.938 kB / 380.2 MB, free: 15.8 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 0.0001246/0.01012, allocations: 168.5 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.01016, allocations: 11.91 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.01038, allocations: 82.12 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01038, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01039, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01039, allocations: 0 / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.01087, allocations: 345.3 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01087, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.01092, allocations: 15.98 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01093, allocations: 4 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.01093, allocations: 0 / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01094, allocations: 0 / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01094, allocations: 0 / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01122, allocations: 231.8 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.01123, allocations: 3.953 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01125, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.01131, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01135, allocations: 12.17 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01136, allocations: 8 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.01149, allocations: 159.1 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01149, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01174, allocations: 19.92 kB / 381.3 MB, free: 14.68 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.002846/0.01458, allocations: 435.7 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.01478, allocations: 43.67 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01478, allocations: 0 / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.01486, allocations: 31.61 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01516, allocations: 22.8 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.01562, allocations: 194.5 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01572, allocations: 75.33 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.01577, allocations: 20.22 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.01581, allocations: 16.5 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01581, allocations: 4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004658/0.02047, allocations: 1.174 MB / 383.3 MB, free: 12.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920539918006398]