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.001353/0.001353, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, 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.2295/0.2295, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4205, allocations: 62.43 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00523/0.4258, allocations: 1.595 MB / 0.5332 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4278, allocations: 0.5463 MB / 0.5338 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.4279, allocations: 0 / 0.5338 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.4283, allocations: 29.36 kB / 0.5338 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.4288, allocations: 76.53 kB / 0.5339 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.4295, allocations: 110.7 kB / 0.534 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.4297, allocations: 61.64 kB / 0.534 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.4299, allocations: 18.89 kB / 0.534 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.43, allocations: 29.42 kB / 0.5341 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.4301, allocations: 17.62 kB / 0.5341 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4302, allocations: 8.016 kB / 0.5341 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4303, allocations: 31.61 kB / 0.5341 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.4304, allocations: 16.58 kB / 0.5341 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.4305, allocations: 20.5 kB / 0.5342 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.4307, allocations: 85.36 kB / 0.5342 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4308, allocations: 0 / 0.5342 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4308, allocations: 1 kB / 0.5342 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4308, allocations: 4 kB / 0.5343 GB, free: 11.82 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.0006638/0.4315, allocations: 386.8 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4315, allocations: 10.12 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.4316, allocations: 8.625 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.4319, allocations: 191.9 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4319, allocations: 1.75 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.432, allocations: 5.75 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.4322, allocations: 60.67 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4322, allocations: 4 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4323, allocations: 1.375 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4323, allocations: 0 / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.4325, allocations: 25.72 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.433, allocations: 285.6 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.4334, allocations: 44.44 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.4335, allocations: 19.81 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4335, allocations: 1.375 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.4336, allocations: 38.55 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 5.631e-06/0.4336, allocations: 1.375 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009518/0.4346, allocations: 153.8 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4346, allocations: 56.78 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4349, allocations: 177.9 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.435, allocations: 25.7 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.4351, allocations: 96.25 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.4351, allocations: 14.56 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.4352, allocations: 21.83 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4354, allocations: 317.6 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4356, allocations: 24.34 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.4357, allocations: 24.36 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.436, allocations: 46.95 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.436, allocations: 0 / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00037/0.4364, allocations: 87.34 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4364, allocations: 5.438 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4365, allocations: 0 / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4365, allocations: 5 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4366, allocations: 14.03 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4367, allocations: 3.984 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.4367, allocations: 7.281 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.4368, allocations: 5.375 kB / 0.5363 GB, free: 9.816 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.0001416/0.4369, allocations: 116.7 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.437, allocations: 11.14 kB / 0.5364 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.4374, allocations: 97.06 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4375, allocations: 1.094 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4375, allocations: 3.938 kB / 0.5365 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4375, allocations: 5.031 kB / 0.5366 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007574/0.4383, allocations: 356.1 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4383, allocations: 5.312 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.4384, allocations: 9.375 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4384, allocations: 4 kB / 0.5369 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4385, allocations: 5.625 kB / 0.5369 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4385, allocations: 7.922 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4385, allocations: 0 / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.4389, allocations: 187.1 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.439, allocations: 82.94 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.4391, allocations: 4.938 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4392, allocations: 6.875 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.4393, allocations: 6.359 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4393, allocations: 1.938 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.4395, allocations: 124.7 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4395, allocations: 0 / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.44, allocations: 22.94 kB / 0.5373 GB, free: 8.859 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.001688/0.4417, allocations: 400.7 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.4421, allocations: 58.41 kB / 0.5378 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4421, allocations: 0 / 0.5378 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.4423, allocations: 28.91 kB / 0.5378 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.4429, allocations: 19.39 kB / 0.5378 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.4437, allocations: 219.8 kB / 0.538 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4441, allocations: 0.7003 MB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.4442, allocations: 13.12 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4442, allocations: 0 / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of Templates: time 0.005938/0.4501, allocations: 1.483 MB / 0.5402 GB, free: 6.922 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