Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001805, allocations: 204.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.395, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002872/0.3979, allocations: 1.621 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.3989, allocations: 0.5367 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.3989, allocations: 1.781 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.3992, allocations: 97.5 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.3994, allocations: 110.2 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.3997, allocations: 96 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3999, allocations: 84.88 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.3999, allocations: 20.23 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.4, allocations: 32.41 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.4001, allocations: 59.31 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.4001, allocations: 4.125 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.4002, allocations: 40.86 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.4003, allocations: 28.11 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.4003, allocations: 33.19 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.4005, allocations: 107.6 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4005, allocations: 0 / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4005, allocations: 9.312 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4005, allocations: 0 / 0.5338 GB, free: 11.51 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.0004383/0.401, allocations: 422.8 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.401, allocations: 9.625 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.401, allocations: 14.25 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.4012, allocations: 200.4 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.4012, allocations: 1.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4013, allocations: 3.125 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4014, allocations: 66.11 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4014, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4014, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.4014, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.4015, allocations: 23.11 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.4019, allocations: 312.7 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.402, allocations: 50.58 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.402, allocations: 12.67 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.4021, allocations: 4.922 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4021, allocations: 31.84 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4021, allocations: 0 / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008182/0.4029, allocations: 221.7 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.403, allocations: 56.78 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.4032, allocations: 239 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4032, allocations: 25.7 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.4033, allocations: 110.8 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.4033, allocations: 26.97 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.4034, allocations: 27.08 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4035, allocations: 323.5 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.4036, allocations: 25.45 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.4037, allocations: 22.3 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4038, allocations: 59.58 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4038, allocations: 0 / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/0.4041, allocations: 108.4 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4041, allocations: 5.469 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4041, allocations: 1.094 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4041, allocations: 0 / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.4042, allocations: 18.08 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4042, allocations: 0.9688 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.4043, allocations: 7.406 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4043, allocations: 1.125 kB / 0.5361 GB, free: 9.379 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.766e-05/0.4044, allocations: 135.6 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.4044, allocations: 13.19 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.4047, allocations: 136.9 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4047, allocations: 1.375 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4047, allocations: 0 / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4047, allocations: 5.469 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.4052, allocations: 407.4 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4052, allocations: 1.25 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.4053, allocations: 18.2 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4053, allocations: 3.938 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4053, allocations: 5.344 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4053, allocations: 5.344 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4053, allocations: 1.344 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.4056, allocations: 207.6 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.4057, allocations: 92.77 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4057, allocations: 1.375 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.4058, allocations: 7.969 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4058, allocations: 10.58 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4058, allocations: 2.688 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.406, allocations: 181.5 kB / 0.5373 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.406, allocations: 5.25 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.4062, allocations: 17.84 kB / 0.5373 GB, free: 8.305 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.000997/0.4072, allocations: 447.2 kB / 0.5378 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.4075, allocations: 70.86 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4075, allocations: 0 / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4076, allocations: 34.17 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.4079, allocations: 34.41 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.4085, allocations: 266.7 kB / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4088, allocations: 0.7087 MB / 0.5388 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.4088, allocations: 16.61 kB / 0.5389 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.4089, allocations: 13.88 kB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4089, allocations: 3.938 kB / 0.5389 GB, free: 7.082 MB / 398.1 MB Notification: Performance of Templates: time 0.004044/0.4129, allocations: 1.372 MB / 0.5402 GB, free: 6.379 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches