Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.001991, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3758, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00293/0.3788, allocations: 1.606 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.3798, allocations: 0.5384 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.3799, allocations: 1.375 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3801, allocations: 29.36 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3804, allocations: 71.84 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.3807, allocations: 114.8 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3809, allocations: 61.66 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.381, allocations: 23.7 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.381, allocations: 25.27 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.3811, allocations: 21.83 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3811, allocations: 2 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.3812, allocations: 32.64 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.3813, allocations: 16.98 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3813, allocations: 20.75 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3815, allocations: 81.28 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3815, allocations: 0 / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3815, allocations: 5.062 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3815, allocations: 0 / 0.5343 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.0004793/0.382, allocations: 386.6 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3821, allocations: 10.31 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3821, allocations: 11.55 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3823, allocations: 193.2 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3823, allocations: 384 / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3824, allocations: 11.06 kB / 0.5348 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3825, allocations: 52.8 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3825, allocations: 0 / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.3825, allocations: 4 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3825, allocations: 1.375 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.3826, allocations: 25.67 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.383, allocations: 284.2 kB / 0.5352 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3832, allocations: 44.44 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.3833, allocations: 21.19 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3833, allocations: 3.938 kB / 0.5353 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3834, allocations: 35.94 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3834, allocations: 0 / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000563/0.3839, allocations: 155.1 kB / 0.5354 GB, free: 10.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.384, allocations: 56.78 kB / 0.5355 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3841, allocations: 170.2 kB / 0.5357 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3842, allocations: 25.7 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.3842, allocations: 96.25 kB / 0.5358 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.3843, allocations: 13.19 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3843, allocations: 19.22 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3844, allocations: 321.6 kB / 0.5361 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3845, allocations: 18.98 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.3846, allocations: 28.53 kB / 0.5362 GB, free: 9.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3847, allocations: 50.95 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3847, allocations: 1.375 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.3849, allocations: 86.52 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3849, allocations: 9.484 kB / 0.5363 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.385, allocations: 3.938 kB / 0.5363 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.385, allocations: 1.375 kB / 0.5363 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.385, allocations: 13.62 kB / 0.5363 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3851, allocations: 0 / 0.5363 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.3851, allocations: 11.7 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3851, allocations: 5.062 kB / 0.5363 GB, free: 9.602 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 9.357e-05/0.3852, allocations: 116.2 kB / 0.5364 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.3853, allocations: 7.406 kB / 0.5364 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3855, allocations: 109.9 kB / 0.5365 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3855, allocations: 5.031 kB / 0.5366 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3855, allocations: 0 / 0.5366 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3855, allocations: 7.922 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.386, allocations: 349.4 kB / 0.5369 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.386, allocations: 0 / 0.5369 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.386, allocations: 13.27 kB / 0.5369 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3861, allocations: 1.125 kB / 0.5369 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3861, allocations: 13.09 kB / 0.5369 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3861, allocations: 192 / 0.5369 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3861, allocations: 4 kB / 0.5369 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3863, allocations: 186.6 kB / 0.5371 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.3864, allocations: 83.5 kB / 0.5372 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3864, allocations: 5.25 kB / 0.5372 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.3865, allocations: 2.312 kB / 0.5372 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3865, allocations: 6.969 kB / 0.5372 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3865, allocations: 5.172 kB / 0.5372 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.3866, allocations: 124.4 kB / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3866, allocations: 0 / 0.5373 GB, free: 8.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3869, allocations: 22.28 kB / 0.5373 GB, free: 8.641 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.0009279/0.3878, allocations: 400.4 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.388, allocations: 58.81 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.388, allocations: 0 / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.3881, allocations: 28.47 kB / 0.5378 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3885, allocations: 21.75 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.3889, allocations: 222.5 kB / 0.538 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3892, allocations: 0.7073 MB / 0.5387 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3893, allocations: 13.06 kB / 0.5387 GB, free: 7.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3893, allocations: 0 / 0.5387 GB, free: 7.461 MB / 398.1 MB Notification: Performance of Templates: time 0.003295/0.3926, allocations: 1.468 MB / 0.5402 GB, free: 6.707 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches