Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.001887/0.001887, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001936/0.001936, allocations: 169.3 kB / 24.28 MB, free: 148 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.54/1.54, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3436/0.3436, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.561e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003612/0.003648, allocations: 1.607 MB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004883, allocations: 0.522 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.004938, allocations: 0 / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.005187, allocations: 27.78 kB / 377.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.005497, allocations: 83.56 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005774, allocations: 95.62 kB / 377.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.005944, allocations: 71.75 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.006041, allocations: 8 kB / 377.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.006115, allocations: 27.92 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.006178, allocations: 15.98 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.0062, allocations: 3.984 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006302, allocations: 31.92 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.006365, allocations: 19.92 kB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.006403, allocations: 11.94 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.006615, allocations: 87.64 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.00662, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.006622, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.006628, allocations: 7.938 kB / 377.9 MB, free: 2.324 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.0009589/0.007587, allocations: 415.8 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.007633, allocations: 12.03 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.007694, allocations: 12.88 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.00792, allocations: 141 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.007935, allocations: 4.375 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.007961, allocations: 8.359 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.008116, allocations: 50 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.008128, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.008139, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.008145, allocations: 4 kB / 378.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.008245, allocations: 19.98 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.008666, allocations: 291.7 kB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.008902, allocations: 50.98 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.00895, allocations: 15.78 kB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.008973, allocations: 7.984 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.009004, allocations: 33.39 kB / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.009005, allocations: 0 / 378.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005444/0.00955, allocations: 125.5 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.009599, allocations: 55.41 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.009833, allocations: 228.3 kB / 379.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.009853, allocations: 25.7 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.009966, allocations: 150.8 kB / 379.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.009993, allocations: 19.84 kB / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.01005, allocations: 27.36 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003052/0.01036, allocations: 0.5038 MB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.01042, allocations: 15.98 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.01047, allocations: 19.98 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.01058, allocations: 39.67 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01058, allocations: 0 / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001665/0.01075, allocations: 73.64 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01076, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01077, allocations: 3.984 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01078, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.01085, allocations: 15.94 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01085, allocations: 4 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.01089, allocations: 4 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.0109, allocations: 4 kB / 380.2 MB, free: 15.77 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.0001352/0.01103, allocations: 164.5 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.01107, allocations: 16.16 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.0113, allocations: 82.14 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0113, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.0113, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0113, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.01177, allocations: 357.3 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01177, allocations: 4 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.01182, allocations: 8 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.01183, allocations: 3.984 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01183, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01183, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01184, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.01211, allocations: 231.8 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.01212, allocations: 3.953 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01214, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.0122, allocations: 4 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01224, allocations: 11.98 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.01225, allocations: 4.281 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.01238, allocations: 162.1 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01238, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.01262, allocations: 23.92 kB / 381.3 MB, free: 14.64 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.002771/0.01539, allocations: 443.3 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.01559, allocations: 47.61 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01559, allocations: 0 / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.01566, allocations: 35.67 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01598, allocations: 19.22 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.01649, allocations: 190.3 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.857e-05/0.01659, allocations: 86.5 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.01663, allocations: 15.97 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.01667, allocations: 16.5 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01667, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Templates: time 0.004423/0.0211, allocations: 1.164 MB / 383.3 MB, free: 12.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.875749605009332]