Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0008947/0.0008947, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001042/0.001042, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 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.9571/0.9571, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 34.26 MB / 296.1 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.765e-05, allocations: 7.297 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002245/0.002263, allocations: 1.7 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.003052, allocations: 0.5374 MB / 327.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.003106, allocations: 3.938 kB / 327.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.003403, allocations: 127.6 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.003666, allocations: 127.5 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.003873, allocations: 87.69 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.004017, allocations: 96.36 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.004102, allocations: 15.98 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.004172, allocations: 51.88 kB / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.004273, allocations: 75.84 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.004285, allocations: 4 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.004363, allocations: 47.92 kB / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.004403, allocations: 27.86 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.004426, allocations: 19.91 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004573, allocations: 107.5 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004575, allocations: 0 / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004576, allocations: 0 / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.004579, allocations: 0 / 328.3 MB, free: 4.621 MB / 298.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.0003123/0.004891, allocations: 341.4 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.004919, allocations: 12.03 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.004944, allocations: 8.938 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.005069, allocations: 149.5 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.005076, allocations: 4.375 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.005094, allocations: 12.31 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.238e-05/0.005176, allocations: 54.94 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005184, allocations: 192 / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005193, allocations: 8.125 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005197, allocations: 0 / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.005219, allocations: 11.98 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.00542, allocations: 179 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.005464, allocations: 34.56 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.172e-05/0.005476, allocations: 8.859 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.005491, allocations: 4 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.00551, allocations: 34.5 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.00551, allocations: 0 / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003864/0.005897, allocations: 142.5 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.005925, allocations: 55.41 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.006064, allocations: 213.2 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.006074, allocations: 29.7 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.006109, allocations: 108 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.006131, allocations: 27.73 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.006159, allocations: 21.7 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.006238, allocations: 326.8 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.00625, allocations: 4 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.006264, allocations: 11.98 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.006298, allocations: 29.06 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006299, allocations: 0 / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.976e-05/0.006358, allocations: 65.61 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.006371, allocations: 8 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.006375, allocations: 0 / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.006385, allocations: 0 / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.006445, allocations: 19.92 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006448, allocations: 0 / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.006465, allocations: 7.938 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.006471, allocations: 0 / 330.2 MB, free: 2.566 MB / 298.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 6.096e-05/0.006532, allocations: 120.7 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.006552, allocations: 15.91 kB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.006653, allocations: 79.12 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006655, allocations: 3.938 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006657, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.00666, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.006888, allocations: 255.5 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006889, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.006925, allocations: 19.98 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006927, allocations: 4 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006932, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.006933, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006934, allocations: 4.031 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.007026, allocations: 172.2 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.007037, allocations: 15.89 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.007047, allocations: 0 / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.007079, allocations: 4 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.007102, allocations: 11.98 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.007105, allocations: 0 / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.007155, allocations: 68.62 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007155, allocations: 0 / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.007283, allocations: 16 kB / 331 MB, free: 1.723 MB / 298.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.001177/0.00846, allocations: 0.5775 MB / 331.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.27e-05/0.008533, allocations: 36.72 kB / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.008537, allocations: 4 kB / 331.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.008558, allocations: 24.84 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008717, allocations: 27.86 kB / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.00903, allocations: 249 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.00907, allocations: 75.33 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.009101, allocations: 13.09 kB / 332 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.00915, allocations: 67.36 kB / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009151, allocations: 0 / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of Templates: time 0.002978/0.01213, allocations: 1.496 MB / 333.6 MB, free: 15.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.80292704468593]