Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3967, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003607/0.4004, allocations: 1.6 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.4015, allocations: 0.5232 MB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.4016, allocations: 5.312 kB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.4018, allocations: 29.33 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.4022, allocations: 76.38 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.4025, allocations: 86.27 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.4026, allocations: 65.95 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4027, allocations: 13.5 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.4028, allocations: 25.48 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.4029, allocations: 25.34 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4029, allocations: 6.688 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.403, allocations: 29.19 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.403, allocations: 15.92 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.4031, allocations: 24.12 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.4033, allocations: 88.55 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4033, allocations: 5.156 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4033, allocations: 0 / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.4033, allocations: 0 / 0.5342 GB, free: 11.63 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.0005015/0.4038, allocations: 379.3 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4039, allocations: 9.719 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.4039, allocations: 7.812 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4042, allocations: 197.9 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4042, allocations: 5.625 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4042, allocations: 5.844 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4043, allocations: 55.91 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4044, allocations: 5.047 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4044, allocations: 0 / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4044, allocations: 1.594 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.4045, allocations: 20.11 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.4049, allocations: 272.2 kB / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4051, allocations: 51.27 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.4052, allocations: 15.39 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4052, allocations: 1.125 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4053, allocations: 31.75 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4053, allocations: 0 / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005727/0.4059, allocations: 154 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4059, allocations: 55.41 kB / 0.5354 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4061, allocations: 166.8 kB / 0.5356 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4061, allocations: 25.7 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.4062, allocations: 92.73 kB / 0.5357 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4062, allocations: 18.11 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4063, allocations: 17.03 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4064, allocations: 321.1 kB / 0.536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.4065, allocations: 19.33 kB / 0.5361 GB, free: 9.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.4065, allocations: 18.33 kB / 0.5361 GB, free: 9.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.4067, allocations: 52.2 kB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4067, allocations: 192 / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001805/0.4069, allocations: 80.89 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4069, allocations: 5.188 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4069, allocations: 4.688 kB / 0.5362 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4069, allocations: 0 / 0.5362 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.407, allocations: 13.7 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.407, allocations: 4.906 kB / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.4071, allocations: 7.219 kB / 0.5362 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4071, allocations: 1.938 kB / 0.5362 GB, free: 9.668 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.532e-05/0.4072, allocations: 123.2 kB / 0.5364 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.4072, allocations: 8 kB / 0.5364 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4075, allocations: 101.2 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4075, allocations: 1.375 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4075, allocations: 0 / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4075, allocations: 3.938 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.4079, allocations: 347.9 kB / 0.5368 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4079, allocations: 1.375 kB / 0.5368 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.408, allocations: 16.23 kB / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.408, allocations: 1.375 kB / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.408, allocations: 5.312 kB / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.408, allocations: 0 / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4081, allocations: 0 / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.4083, allocations: 184.3 kB / 0.537 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.4083, allocations: 78.73 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4083, allocations: 9.312 kB / 0.5371 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.4084, allocations: 10.75 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4085, allocations: 10.67 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4085, allocations: 1.375 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.894e-05/0.4086, allocations: 123.7 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4086, allocations: 0 / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4089, allocations: 22.16 kB / 0.5372 GB, free: 8.707 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.0009766/0.4098, allocations: 407.3 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4101, allocations: 43.47 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4101, allocations: 0 / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.4102, allocations: 28.08 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.4105, allocations: 20.45 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.411, allocations: 209 kB / 0.5379 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4113, allocations: 0.7031 MB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4114, allocations: 12.75 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4114, allocations: 1.062 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Templates: time 0.00365/0.415, allocations: 1.447 MB / 0.54 GB, free: 6.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches