Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 75.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 163.9 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9949/0.9949, allocations: 177 MB / 205.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2638/0.2638, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.467e-05, allocations: 2.875 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002289/0.002314, allocations: 1.64 MB / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006931/0.003007, allocations: 0.5369 MB / 381 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.003066, allocations: 0 / 381 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.003344, allocations: 131.5 kB / 381.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.003603, allocations: 131.6 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.003794, allocations: 87.69 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.003945, allocations: 107.5 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.004035, allocations: 4 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.004103, allocations: 63.86 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004208, allocations: 79.83 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.004222, allocations: 4 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.004297, allocations: 43.92 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.004347, allocations: 35.91 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.004376, allocations: 19.88 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004533, allocations: 99.59 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.004535, allocations: 0 / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004536, allocations: 0 / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00454, allocations: 0 / 381.7 MB, free: 15.42 MB / 362.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.0003992/0.004939, allocations: 467.6 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.004975, allocations: 12.03 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.005018, allocations: 16.84 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005155, allocations: 152.4 kB / 382.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.005165, allocations: 8.312 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.005185, allocations: 12.36 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.00529, allocations: 58.94 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.0053, allocations: 192 / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.005309, allocations: 384 / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.00532, allocations: 8.359 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.005352, allocations: 7.938 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.005663, allocations: 319.6 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.005727, allocations: 43.05 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.005751, allocations: 11.78 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.005768, allocations: 3.984 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.005791, allocations: 45.33 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005792, allocations: 0 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.006304, allocations: 173.2 kB / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.006333, allocations: 51.41 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.006497, allocations: 274.8 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.00651, allocations: 25.7 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.006574, allocations: 174.8 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.006594, allocations: 23.75 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006625, allocations: 35.36 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.006735, allocations: 0.5001 MB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.006755, allocations: 8 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.006773, allocations: 11.98 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.006819, allocations: 31.69 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.00682, allocations: 0 / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.91e-05/0.006909, allocations: 89.53 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.00692, allocations: 4 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.006926, allocations: 7.984 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006937, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.007005, allocations: 12 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.00701, allocations: 4 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.007031, allocations: 11.92 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.007036, allocations: 0 / 384.3 MB, free: 12.64 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 (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.564e-05/0.007102, allocations: 160.6 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.007126, allocations: 19.84 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.007253, allocations: 91.38 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.007257, allocations: 4 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.00726, allocations: 0 / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007263, allocations: 3.984 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.007552, allocations: 389 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.007554, allocations: 0 / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.007592, allocations: 16.42 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007595, allocations: 0 / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.007601, allocations: 0 / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.007604, allocations: 3.984 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.007606, allocations: 4 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.007721, allocations: 247.4 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.007734, allocations: 15.94 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007746, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.007779, allocations: 8.031 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.00781, allocations: 11.98 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.007813, allocations: 0 / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.007902, allocations: 192.1 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007902, allocations: 3.938 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.008069, allocations: 27.92 kB / 385.5 MB, free: 11.39 MB / 362.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.000893/0.008962, allocations: 426.8 kB / 385.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.009061, allocations: 47.59 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.009062, allocations: 4 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.009092, allocations: 31.61 kB / 386 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009308, allocations: 32.11 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.009896, allocations: 263.2 kB / 386.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.009938, allocations: 71.33 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.009971, allocations: 16.78 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.009996, allocations: 12.5 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009997, allocations: 0 / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.002898/0.01289, allocations: 1.403 MB / 387.8 MB, free: 9.176 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.1635316759347916]