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.001078/0.001078, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 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.2595/0.2595, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4484, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003156/0.4516, allocations: 1.595 MB / 0.5326 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.4527, allocations: 0.5377 MB / 0.5331 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.4528, allocations: 1.375 kB / 0.5331 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.453, allocations: 25.36 kB / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.4533, allocations: 84.36 kB / 0.5332 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.4536, allocations: 114.1 kB / 0.5333 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.4538, allocations: 53.41 kB / 0.5334 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4539, allocations: 19.45 kB / 0.5334 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.454, allocations: 23.91 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.4541, allocations: 26.59 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.4541, allocations: 2.75 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.4542, allocations: 36.55 kB / 0.5335 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.4542, allocations: 12.98 kB / 0.5335 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.4543, allocations: 20.25 kB / 0.5335 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.4545, allocations: 87.23 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4545, allocations: 0 / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4545, allocations: 0 / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.4545, allocations: 0 / 0.5336 GB, free: 11.87 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.0005247/0.455, allocations: 394 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4551, allocations: 8.406 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4551, allocations: 8.578 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.4554, allocations: 200.5 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4554, allocations: 9.344 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4554, allocations: 6.547 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.4556, allocations: 55.86 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4556, allocations: 0.9688 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.4556, allocations: 4 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4556, allocations: 1.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.4557, allocations: 25.64 kB / 0.5343 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.4562, allocations: 288.8 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4564, allocations: 40.31 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4565, allocations: 24.69 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.4565, allocations: 1.219 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4565, allocations: 38.5 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4565, allocations: 1.188 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006014/0.4571, allocations: 150.1 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4572, allocations: 60.44 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4574, allocations: 166.8 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.4574, allocations: 25.7 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4574, allocations: 96.22 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.4575, allocations: 17.86 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.4575, allocations: 17.69 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4577, allocations: 321.8 kB / 0.5355 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.4577, allocations: 19.86 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.4578, allocations: 28 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.458, allocations: 51.8 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.458, allocations: 0 / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.4582, allocations: 80 kB / 0.5356 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4582, allocations: 5.5 kB / 0.5356 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4582, allocations: 7.922 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4582, allocations: 1.375 kB / 0.5356 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.4583, allocations: 17.62 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4583, allocations: 0 / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.4583, allocations: 10.67 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4584, allocations: 1.375 kB / 0.5357 GB, free: 9.852 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.000116/0.4585, allocations: 116.7 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4585, allocations: 8.078 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4588, allocations: 108.2 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4588, allocations: 1.375 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4588, allocations: 3.938 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4588, allocations: 5.312 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.4593, allocations: 351.9 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4593, allocations: 1.375 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.4593, allocations: 13.23 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4594, allocations: 0 / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4594, allocations: 9.344 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4594, allocations: 3.938 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4594, allocations: 1.312 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.4596, allocations: 186.8 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.4597, allocations: 82.59 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4597, allocations: 9.141 kB / 0.5365 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.4598, allocations: 2.25 kB / 0.5365 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.4598, allocations: 6.438 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4599, allocations: 5.688 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.46, allocations: 128.8 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.46, allocations: 0 / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.4602, allocations: 14.83 kB / 0.5367 GB, free: 8.895 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.0009495/0.4612, allocations: 410.2 kB / 0.5371 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4614, allocations: 58.88 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4614, allocations: 0 / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.4615, allocations: 29.16 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.4618, allocations: 11.53 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.4623, allocations: 198.8 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4626, allocations: 0.7002 MB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.4626, allocations: 16.08 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.4627, allocations: 16.52 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4627, allocations: 0 / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of Templates: time 0.003755/0.4664, allocations: 1.14 MB / 0.5392 GB, free: 7.145 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches