Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001553/0.001553, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.002024/0.002024, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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.2326/0.2326, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 75.88 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4123, allocations: 65.48 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004936/0.4172, allocations: 1.59 MB / 0.559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4187, allocations: 0.5115 MB / 0.5595 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.4188, allocations: 7.938 kB / 0.5595 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.4191, allocations: 27.84 kB / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.4195, allocations: 79.62 kB / 0.5596 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.42, allocations: 87.75 kB / 0.5597 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.4202, allocations: 67.83 kB / 0.5598 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4204, allocations: 8 kB / 0.5598 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.4204, allocations: 23.86 kB / 0.5598 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.4205, allocations: 31.78 kB / 0.5598 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4206, allocations: 0 / 0.5598 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.4208, allocations: 28 kB / 0.5599 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.4208, allocations: 19.92 kB / 0.5599 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.4209, allocations: 23.86 kB / 0.5599 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.4212, allocations: 89.98 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4212, allocations: 0 / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4212, allocations: 0 / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4212, allocations: 0 / 0.56 GB, free: 4.867 MB / 398.1 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.0006574/0.4219, allocations: 313.8 kB / 0.5603 GB, free: 4.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4219, allocations: 11.97 kB / 0.5603 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.422, allocations: 16.84 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.4222, allocations: 138.9 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4222, allocations: 4.375 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.4223, allocations: 7.938 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4225, allocations: 49.67 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4225, allocations: 0 / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4225, allocations: 4 kB / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.4225, allocations: 0 / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4226, allocations: 23.92 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.4232, allocations: 224.5 kB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.4234, allocations: 38.56 kB / 0.5608 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.4235, allocations: 20.94 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4235, allocations: 4 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4236, allocations: 34.5 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4236, allocations: 0 / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006798/0.4242, allocations: 145.4 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.4243, allocations: 55.41 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.4245, allocations: 176.1 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4246, allocations: 25.7 kB / 0.5612 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.4247, allocations: 100.1 kB / 0.5613 GB, free: 3.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.4247, allocations: 23.78 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.4247, allocations: 17.72 kB / 0.5614 GB, free: 3.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4249, allocations: 326.8 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.425, allocations: 15.98 kB / 0.5617 GB, free: 2.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.4251, allocations: 15.98 kB / 0.5617 GB, free: 2.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.4252, allocations: 48.83 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4252, allocations: 0 / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.4254, allocations: 85.58 kB / 0.5618 GB, free: 2.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4254, allocations: 4 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4254, allocations: 0 / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.4255, allocations: 0 / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.4255, allocations: 20.17 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.4255, allocations: 0 / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.4256, allocations: 15.98 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.4256, allocations: 3.938 kB / 0.5619 GB, free: 2.758 MB / 398.1 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.0002449/0.4258, allocations: 117.8 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4259, allocations: 11.95 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.4262, allocations: 90.33 kB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4262, allocations: 0 / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4262, allocations: 0 / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4262, allocations: 7.984 kB / 0.5621 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.4267, allocations: 298.1 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4267, allocations: 0 / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.4268, allocations: 19.92 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4268, allocations: 4 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4268, allocations: 0 / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4268, allocations: 0 / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4268, allocations: 3.938 kB / 0.5624 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.4271, allocations: 179.4 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.4271, allocations: 11.91 kB / 0.5626 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.4271, allocations: 0 / 0.5626 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.4272, allocations: 4 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.4272, allocations: 19.92 kB / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4272, allocations: 0 / 0.5626 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4274, allocations: 134.9 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4274, allocations: 3.938 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.4277, allocations: 15.94 kB / 0.5628 GB, free: 1.781 MB / 398.1 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.001753/0.4294, allocations: 429.9 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.4296, allocations: 47.89 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4296, allocations: 4 kB / 0.5632 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.4297, allocations: 23.98 kB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4302, allocations: 18.75 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.4307, allocations: 201.9 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4309, allocations: 79.39 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.4309, allocations: 19.97 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.431, allocations: 15.38 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.431, allocations: 0 / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Templates: time 0.005261/0.4362, allocations: 1.186 MB / 0.5647 GB, free: 15.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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: 5.284038344398141]