Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 204.6 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2404/0.2404, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 92.05 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3227, allocations: 62.43 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003031/0.3258, allocations: 1.69 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.3268, allocations: 0.5454 MB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.3268, allocations: 1.375 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3271, allocations: 70.03 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.3274, allocations: 100.7 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3277, allocations: 138.6 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3279, allocations: 90.19 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.328, allocations: 16.22 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.3281, allocations: 43.56 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3282, allocations: 51.94 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3282, allocations: 9.125 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3284, allocations: 51.98 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3284, allocations: 30.03 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.3285, allocations: 34.3 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3287, allocations: 119.4 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3287, allocations: 1.156 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3287, allocations: 0 / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3287, allocations: 0 / 0.534 GB, free: 11.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005798/0.3293, allocations: 428.3 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3294, allocations: 12.91 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3294, allocations: 10.23 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3296, allocations: 212.3 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3296, allocations: 2.594 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3297, allocations: 6.594 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3299, allocations: 71.39 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3299, allocations: 1.156 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3299, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3299, allocations: 5 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3301, allocations: 43.78 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.3305, allocations: 306 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3308, allocations: 59.48 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.3309, allocations: 29.12 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3309, allocations: 0.7812 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3309, allocations: 31.69 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.3309, allocations: 0 / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00156/0.3325, allocations: 394.3 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3326, allocations: 60.66 kB / 0.5356 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3328, allocations: 209.7 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3328, allocations: 29.7 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.3329, allocations: 110.4 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.333, allocations: 40 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.333, allocations: 25.33 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3332, allocations: 323.5 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3333, allocations: 50.34 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3335, allocations: 44.12 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.3337, allocations: 105 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3337, allocations: 0 / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003285/0.3341, allocations: 146.7 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3341, allocations: 5.5 kB / 0.5367 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3341, allocations: 0 / 0.5367 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3341, allocations: 5.125 kB / 0.5367 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3342, allocations: 36.69 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3343, allocations: 0 / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.3343, allocations: 6.562 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3343, allocations: 6.266 kB / 0.5367 GB, free: 9.055 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 (11): * Single equations (assignments): 11 * 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.0001155/0.3345, allocations: 133.6 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3345, allocations: 14.44 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.3349, allocations: 166.8 kB / 0.537 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3349, allocations: 5.031 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3349, allocations: 1.094 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3349, allocations: 3.984 kB / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.3356, allocations: 473.3 kB / 0.5375 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3357, allocations: 1.281 kB / 0.5375 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3358, allocations: 31.59 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3358, allocations: 2.344 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3358, allocations: 9.219 kB / 0.5375 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3358, allocations: 2.344 kB / 0.5375 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3358, allocations: 0 / 0.5375 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3362, allocations: 256.6 kB / 0.5378 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.3363, allocations: 92.23 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3363, allocations: 1.188 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3364, allocations: 10.36 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3365, allocations: 12.7 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3365, allocations: 4.219 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3367, allocations: 162.5 kB / 0.538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3367, allocations: 0 / 0.538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3369, allocations: 25.44 kB / 0.538 GB, free: 7.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001667/0.3386, allocations: 470.4 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.339, allocations: 102.9 kB / 0.5386 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.339, allocations: 0 / 0.5386 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3391, allocations: 59.03 kB / 0.5387 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3395, allocations: 34.12 kB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.3401, allocations: 299.7 kB / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3405, allocations: 0.7149 MB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.3406, allocations: 17.67 kB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.3406, allocations: 18.44 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3406, allocations: 0 / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Templates: time 0.004649/0.3453, allocations: 1.598 MB / 0.5413 GB, free: 5.801 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches