Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 113 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 76.09 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002872/0.3507, allocations: 1.616 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.3517, allocations: 0.5485 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.3517, allocations: 1.5 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.352, allocations: 114.2 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.3524, allocations: 111.1 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3527, allocations: 117 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3528, allocations: 92.98 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3529, allocations: 21.61 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.353, allocations: 39.14 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.3531, allocations: 64.94 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3531, allocations: 2.75 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.3532, allocations: 46.23 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.3533, allocations: 21.55 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.3534, allocations: 46.48 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3535, allocations: 112.9 kB / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3536, allocations: 0 / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3536, allocations: 1.375 kB / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3536, allocations: 4 kB / 0.5346 GB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004999/0.3541, allocations: 428.1 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3541, allocations: 9.625 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3542, allocations: 10.34 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3544, allocations: 211.3 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.3544, allocations: 5.688 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3544, allocations: 7.109 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3546, allocations: 67.47 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3546, allocations: 4 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3546, allocations: 1.375 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3546, allocations: 0 / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3547, allocations: 32.47 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3551, allocations: 306 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3553, allocations: 47.62 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.3553, allocations: 21.75 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3554, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3554, allocations: 31.62 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3554, allocations: 1.062 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008895/0.3563, allocations: 246.8 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3563, allocations: 52.75 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3566, allocations: 262.1 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3566, allocations: 30.83 kB / 0.5363 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3567, allocations: 111.2 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3567, allocations: 26.91 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3568, allocations: 27.2 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3569, allocations: 328.1 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.357, allocations: 27.8 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.3571, allocations: 29.03 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3572, allocations: 74.06 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3573, allocations: 0 / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.3575, allocations: 118.3 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3575, allocations: 4.281 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3575, allocations: 5.031 kB / 0.537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3576, allocations: 3.938 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.3577, allocations: 18.02 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3577, allocations: 1.094 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.3577, allocations: 6.938 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3577, allocations: 2.531 kB / 0.537 GB, free: 9.262 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 (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 0.0001029/0.3578, allocations: 135.3 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3579, allocations: 14.66 kB / 0.5371 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.3582, allocations: 143.6 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3582, allocations: 1.875 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3582, allocations: 0 / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3582, allocations: 3.938 kB / 0.5373 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.3588, allocations: 426.7 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3588, allocations: 0 / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.3588, allocations: 23.28 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3589, allocations: 3.938 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3589, allocations: 2.469 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3589, allocations: 3.938 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3589, allocations: 1.578 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3591, allocations: 220.9 kB / 0.5379 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.3592, allocations: 96.83 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3592, allocations: 1.375 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.3593, allocations: 4 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.3593, allocations: 10.58 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.3594, allocations: 2.75 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3595, allocations: 188.5 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3595, allocations: 4 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3598, allocations: 23.34 kB / 0.5383 GB, free: 8.172 MB / 398.1 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.001044/0.3608, allocations: 451.1 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3611, allocations: 75.23 kB / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3611, allocations: 0 / 0.5388 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.3612, allocations: 44.19 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3616, allocations: 32.39 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.3622, allocations: 331.3 kB / 0.5391 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3625, allocations: 0.7158 MB / 0.5398 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.3626, allocations: 17.8 kB / 0.5399 GB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3626, allocations: 0 / 0.5399 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Templates: time 0.003752/0.3663, allocations: 1.897 MB / 0.5417 GB, free: 5.914 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches