Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 117.7 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.001235/0.001235, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 75.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3781, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002972/0.3811, allocations: 1.608 MB / 0.5332 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3822, allocations: 0.527 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.3823, allocations: 1.406 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3825, allocations: 24.34 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.3829, allocations: 75.72 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3832, allocations: 87.78 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3833, allocations: 60.84 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3834, allocations: 19.58 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.3835, allocations: 23.7 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.3836, allocations: 21.58 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3836, allocations: 3.812 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.3837, allocations: 31.55 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.3837, allocations: 12.58 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.3838, allocations: 28.27 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.384, allocations: 83.3 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.384, allocations: 0 / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.384, allocations: 4 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.384, allocations: 0.9688 kB / 0.5342 GB, free: 11.6 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.0005161/0.3845, allocations: 378 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3846, allocations: 8.75 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.3846, allocations: 9.094 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3848, allocations: 196.3 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3848, allocations: 1.75 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3849, allocations: 1.75 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.385, allocations: 56.75 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.385, allocations: 0 / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3851, allocations: 7.984 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3851, allocations: 1.375 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.3852, allocations: 24.34 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3856, allocations: 272.2 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3858, allocations: 47 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3858, allocations: 11.73 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3859, allocations: 4.094 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3859, allocations: 35.92 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3859, allocations: 0 / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005511/0.3865, allocations: 141.8 kB / 0.5354 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3865, allocations: 56.72 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3867, allocations: 151.1 kB / 0.5356 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3867, allocations: 25.7 kB / 0.5356 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.3868, allocations: 100.1 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.3868, allocations: 18.55 kB / 0.5357 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3868, allocations: 13.84 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.387, allocations: 324.1 kB / 0.536 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.387, allocations: 22.98 kB / 0.536 GB, free: 9.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.3871, allocations: 18.98 kB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3872, allocations: 48.34 kB / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3873, allocations: 0 / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.3874, allocations: 83.81 kB / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3875, allocations: 5.5 kB / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3875, allocations: 5.375 kB / 0.5362 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3875, allocations: 0 / 0.5362 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.3876, allocations: 13.61 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3876, allocations: 0 / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.3876, allocations: 4.125 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3876, allocations: 1.375 kB / 0.5362 GB, free: 9.645 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 8.646e-05/0.3877, allocations: 117.9 kB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.3878, allocations: 15.95 kB / 0.5363 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.388, allocations: 93.59 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.388, allocations: 0 / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.388, allocations: 1.375 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.388, allocations: 0 / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.3885, allocations: 353.8 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3885, allocations: 1.062 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.3886, allocations: 9.75 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3886, allocations: 4 kB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3886, allocations: 5 kB / 0.5368 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3886, allocations: 5 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3886, allocations: 4.172 kB / 0.5368 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3888, allocations: 176.4 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3889, allocations: 78.42 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3889, allocations: 1.281 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.389, allocations: 14.39 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.389, allocations: 6.438 kB / 0.5371 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.389, allocations: 1.344 kB / 0.5371 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3891, allocations: 128.7 kB / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3891, allocations: 0 / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.3894, allocations: 18.53 kB / 0.5372 GB, free: 8.691 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.0009597/0.3904, allocations: 404.3 kB / 0.5376 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3906, allocations: 51.25 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3906, allocations: 1.094 kB / 0.5376 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.3907, allocations: 31.19 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.391, allocations: 20.34 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.3915, allocations: 194.9 kB / 0.5379 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3918, allocations: 0.6989 MB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.3918, allocations: 11.94 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3918, allocations: 1.188 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of Templates: time 0.003255/0.3951, allocations: 1.42 MB / 0.5399 GB, free: 6.801 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches