Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002503/0.002503, allocations: 83.67 kB / 20.96 MB, free: 3.445 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.003023/0.003023, 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.4093/0.4093, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.503e-05, allocations: 6.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003529/0.003564, allocations: 1.591 MB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.004755, allocations: 0.5376 MB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.004806, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.00503, allocations: 27.78 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.005311, allocations: 83.56 kB / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.00562, allocations: 107.7 kB / 379.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.005779, allocations: 67.77 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.005869, allocations: 11.98 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.00596, allocations: 31.91 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.006026, allocations: 23.91 kB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.006047, allocations: 8 kB / 379.8 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.006129, allocations: 27.94 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.006184, allocations: 15.92 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.006219, allocations: 11.94 kB / 379.9 MB, free: 400 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.006404, allocations: 83.7 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006408, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.00641, allocations: 0 / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006415, allocations: 0 / 379.9 MB, free: 316 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005905/0.007005, allocations: 423.7 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.007045, allocations: 12.03 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.007094, allocations: 8.891 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.007296, allocations: 144.4 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.007306, allocations: 384 / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.007322, allocations: 4.312 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.007451, allocations: 46.25 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.007463, allocations: 192 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.007476, allocations: 8.125 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.00748, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.007564, allocations: 15.92 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.007996, allocations: 283.8 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.00822, allocations: 51.05 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.008272, allocations: 19.77 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.008291, allocations: 3.938 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.00833, allocations: 45.33 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.008331, allocations: 0 / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000539/0.00887, allocations: 129.4 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.008914, allocations: 51.41 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.009126, allocations: 220.9 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.009146, allocations: 25.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.009248, allocations: 142.9 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.009283, allocations: 23.83 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.009329, allocations: 23.38 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.009602, allocations: 0.504 MB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.009659, allocations: 8 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.009712, allocations: 15.98 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.009828, allocations: 39.67 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.009829, allocations: 0 / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000176/0.01, allocations: 73.58 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01002, allocations: 11.98 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01002, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01004, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.0101, allocations: 12 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01011, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.01014, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01015, allocations: 7.984 kB / 382.3 MB, free: 13.79 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.0001235/0.01027, allocations: 160.5 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.01032, allocations: 15.91 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.01055, allocations: 86.06 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01055, allocations: 7.938 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.01056, allocations: 0 / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01056, allocations: 3.984 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.01104, allocations: 345.7 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01104, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.0111, allocations: 11.98 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.0111, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.0111, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01111, allocations: 7.938 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01111, allocations: 4 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.01138, allocations: 224.1 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01139, allocations: 7.953 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01141, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.01148, allocations: 4 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.01152, allocations: 7.969 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01152, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.01166, allocations: 159.1 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01166, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.01191, allocations: 23.92 kB / 383.3 MB, free: 12.66 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.002968/0.01487, allocations: 438.8 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.01507, allocations: 47.59 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01507, allocations: 0 / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.01515, allocations: 31.67 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.01547, allocations: 21.67 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.01597, allocations: 198.4 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.01607, allocations: 87.31 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.01612, allocations: 11.98 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.01616, allocations: 12.5 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01616, allocations: 0 / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.004671/0.02083, allocations: 1.163 MB / 385.3 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.960190262994729]