Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 109.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 207.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 80.09 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3903, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003281/0.3937, allocations: 1.611 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3948, allocations: 0.5515 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.3949, allocations: 0 / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.3952, allocations: 98.3 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.3956, allocations: 107.6 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.396, allocations: 117.2 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3962, allocations: 86.25 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3963, allocations: 17.45 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.3964, allocations: 39.61 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3965, allocations: 57.11 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3966, allocations: 2.531 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3967, allocations: 44.75 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.3968, allocations: 20.55 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.3968, allocations: 38.91 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.397, allocations: 111.4 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3971, allocations: 0 / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3971, allocations: 3.938 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3971, allocations: 1.344 kB / 0.5345 GB, free: 11.48 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.0005433/0.3976, allocations: 414.6 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3977, allocations: 12.86 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.3977, allocations: 14.28 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.398, allocations: 201.6 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.398, allocations: 1.531 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.398, allocations: 6.75 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3982, allocations: 58.66 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3982, allocations: 1.062 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3982, allocations: 0 / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3982, allocations: 1.188 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3984, allocations: 36.09 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.3988, allocations: 308.9 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3989, allocations: 48.44 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.399, allocations: 24.8 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.399, allocations: 5.188 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.399, allocations: 30.56 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.399, allocations: 1.188 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009207/0.4, allocations: 238.4 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4, allocations: 56.53 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4003, allocations: 234.8 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4003, allocations: 29.7 kB / 0.5362 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.4004, allocations: 109.6 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.4004, allocations: 27.67 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.4004, allocations: 19.22 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4006, allocations: 328.3 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.4007, allocations: 36.12 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.4007, allocations: 24.27 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.4009, allocations: 77.47 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4009, allocations: 1.125 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.4011, allocations: 108.5 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4012, allocations: 5.688 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4012, allocations: 4 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4012, allocations: 1 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4013, allocations: 22.2 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4013, allocations: 0 / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.4014, allocations: 11.11 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4014, allocations: 3.125 kB / 0.5369 GB, free: 9.309 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 9.35e-05/0.4015, allocations: 131 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.4015, allocations: 13.38 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.4018, allocations: 134.9 kB / 0.5372 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4018, allocations: 5.125 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.4019, allocations: 4.984 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4019, allocations: 3.938 kB / 0.5372 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.4024, allocations: 424.8 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4024, allocations: 1.188 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.4025, allocations: 21.36 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.4025, allocations: 5.156 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4025, allocations: 5.219 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4025, allocations: 5.094 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4025, allocations: 0.9688 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.4028, allocations: 220.8 kB / 0.5378 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.4029, allocations: 96.12 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4029, allocations: 2.312 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.403, allocations: 2.781 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.403, allocations: 11.64 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.403, allocations: 2.062 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.4032, allocations: 182.6 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4032, allocations: 0 / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.4035, allocations: 27.48 kB / 0.5381 GB, free: 8.215 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.001015/0.4045, allocations: 442.4 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4047, allocations: 82.84 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4048, allocations: 1.25 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.4048, allocations: 38.94 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4052, allocations: 26.52 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.4058, allocations: 313 kB / 0.539 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.4061, allocations: 0.7135 MB / 0.5397 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.4061, allocations: 21.73 kB / 0.5397 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4061, allocations: 1.094 kB / 0.5397 GB, free: 6.961 MB / 398.1 MB Notification: Performance of Templates: time 0.003839/0.4099, allocations: 1.862 MB / 0.5415 GB, free: 5.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches