Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001456/0.001456, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001186/0.001186, allocations: 165 kB / 24.56 MB, free: 12 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 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.23 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.266/0.266, allocations: 32.8 MB / 294.3 MB, free: 1.176 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.226e-05, allocations: 2.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003458/0.003491, allocations: 1.701 MB / 377.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.004501, allocations: 0.5414 MB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.004564, allocations: 0 / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.005175, allocations: 455 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.005709, allocations: 303.1 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.006033, allocations: 123.6 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.006251, allocations: 167.7 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.006348, allocations: 15.97 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.006474, allocations: 119.8 kB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.00669, allocations: 239.5 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.006707, allocations: 4 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.006785, allocations: 35.92 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.006872, allocations: 83.72 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.00692, allocations: 35.72 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.007142, allocations: 203.2 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007146, allocations: 0 / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007146, allocations: 0 / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.007153, allocations: 3.938 kB / 380 MB, free: 0.6094 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.000569/0.007722, allocations: 0.6883 MB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.007759, allocations: 8.031 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.007822, allocations: 44.66 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.008023, allocations: 244.9 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.008034, allocations: 4.375 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.008053, allocations: 384 / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.00817, allocations: 66.94 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.008181, allocations: 4.172 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.008192, allocations: 5.312 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.0082, allocations: 3.938 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.00823, allocations: 8 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.008666, allocations: 427.5 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.008861, allocations: 50.97 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.008883, allocations: 7.688 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.008903, allocations: 7.938 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.008929, allocations: 41.39 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.00893, allocations: 4 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004253/0.009355, allocations: 184.8 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.00939, allocations: 55.39 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.00982, allocations: 0.6315 MB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.009834, allocations: 29.7 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.009975, allocations: 274.8 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.009998, allocations: 15.84 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.01003, allocations: 27.36 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01019, allocations: 0.5509 MB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.01021, allocations: 7.984 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.01023, allocations: 8 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.01027, allocations: 23.69 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01027, allocations: 3.938 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001059/0.01038, allocations: 97.36 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01039, allocations: 12.88 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.0104, allocations: 256 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01041, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.01047, allocations: 15.98 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01048, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.01051, allocations: 4 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01051, allocations: 4 kB / 383.6 MB, free: 12.87 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 8.195e-05/0.01059, allocations: 156.6 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.01063, allocations: 47.66 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.01079, allocations: 97.17 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01079, allocations: 0 / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01079, allocations: 0 / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.0108, allocations: 3.984 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.01117, allocations: 469.4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01117, allocations: 7.938 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.01121, allocations: 8 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01121, allocations: 4 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.01122, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01122, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01122, allocations: 3.984 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.01135, allocations: 247.5 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01138, allocations: 35.72 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.0114, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.01144, allocations: 4 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.01147, allocations: 3.984 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.01147, allocations: 0 / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.01173, allocations: 434.8 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01174, allocations: 3.938 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.01191, allocations: 23.92 kB / 385.1 MB, free: 11.27 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.0009224/0.01284, allocations: 394.5 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01295, allocations: 23.69 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01295, allocations: 0 / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.01297, allocations: 27.61 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01324, allocations: 30.45 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01387, allocations: 0.569 MB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.01394, allocations: 115.2 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.01397, allocations: 8 kB / 386.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.014, allocations: 24.48 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.014, allocations: 0 / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003997/0.01799, allocations: 1.463 MB / 387.7 MB, free: 8.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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: 2.9151921388693154]