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.001517/0.001517, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4456, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003731/0.4493, allocations: 1.605 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4504, allocations: 0.531 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.4505, allocations: 1.375 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4508, allocations: 33.28 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.4512, allocations: 68.44 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4515, allocations: 99.19 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.4517, allocations: 54.03 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.4519, allocations: 14.86 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.4519, allocations: 28.05 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.452, allocations: 21.36 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.452, allocations: 2.75 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.4522, allocations: 36.61 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.4522, allocations: 12.05 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.4523, allocations: 29.36 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.4525, allocations: 81.05 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4526, allocations: 0 / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4526, allocations: 0 / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4526, allocations: 0 / 0.5336 GB, free: 11.66 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.000582/0.4532, allocations: 390.3 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4532, allocations: 8.25 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.4533, allocations: 9.016 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4535, allocations: 197.8 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4535, allocations: 13.69 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.4535, allocations: 1.75 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.4538, allocations: 48.81 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4538, allocations: 0 / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.4538, allocations: 7.969 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4538, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.4539, allocations: 24.3 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.4544, allocations: 276.1 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.4546, allocations: 47.06 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.4547, allocations: 15.81 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.4547, allocations: 1.375 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4547, allocations: 35.88 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4547, allocations: 0 / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006141/0.4553, allocations: 153.9 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.4554, allocations: 51.41 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4556, allocations: 166.7 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4556, allocations: 25.7 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4557, allocations: 100.1 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4557, allocations: 14.17 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.4558, allocations: 26.55 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4559, allocations: 320.8 kB / 0.5354 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.456, allocations: 18.14 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.049e-05/0.4561, allocations: 15.27 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4562, allocations: 48.14 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4562, allocations: 0 / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.4564, allocations: 85.28 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4565, allocations: 8.766 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4565, allocations: 0 / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4565, allocations: 1.406 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.4566, allocations: 9.5 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4566, allocations: 0 / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.4566, allocations: 19.23 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4566, allocations: 1.719 kB / 0.5356 GB, free: 9.66 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 0.000102/0.4567, allocations: 119.5 kB / 0.5357 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.4568, allocations: 8.078 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.457, allocations: 97.42 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4571, allocations: 1.094 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4571, allocations: 0 / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4571, allocations: 5.031 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4576, allocations: 347.1 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4576, allocations: 1.312 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.4576, allocations: 16.83 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4576, allocations: 1.219 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4577, allocations: 3.938 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4577, allocations: 1.219 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4577, allocations: 3.938 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4579, allocations: 180.5 kB / 0.5363 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.458, allocations: 83.34 kB / 0.5364 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4581, allocations: 7.938 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.4581, allocations: 7.391 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4582, allocations: 2.25 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4582, allocations: 1.281 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.4583, allocations: 123.6 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4583, allocations: 1.156 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.4586, allocations: 17.58 kB / 0.5366 GB, free: 8.719 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.001068/0.4597, allocations: 410.1 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.4599, allocations: 54.83 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4599, allocations: 1.438 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.46, allocations: 23.3 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.4604, allocations: 17.05 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.4608, allocations: 199.9 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4612, allocations: 0.6962 MB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.4612, allocations: 17.27 kB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.4613, allocations: 15.3 kB / 0.538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4613, allocations: 0 / 0.538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of Templates: time 0.004164/0.4655, allocations: 1.106 MB / 0.539 GB, free: 6.996 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches