Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, 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.2062/0.2062, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.88 kB / 482 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 62.44 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003064/0.3566, allocations: 1.592 MB / 0.5332 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3576, allocations: 0.5387 MB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.3577, allocations: 1.375 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3579, allocations: 25.3 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.3582, allocations: 80.42 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3585, allocations: 106 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3587, allocations: 71.27 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3588, allocations: 10.88 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.3588, allocations: 24.11 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.3589, allocations: 26.72 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3589, allocations: 2.75 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.359, allocations: 35.64 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.3591, allocations: 13.88 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3591, allocations: 16.31 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3593, allocations: 93.42 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3593, allocations: 0 / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3593, allocations: 0 / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3593, allocations: 0 / 0.5342 GB, free: 11.57 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.0004906/0.3598, allocations: 388 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3598, allocations: 9.188 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3599, allocations: 8.094 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3601, allocations: 199.7 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3601, allocations: 1.812 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3601, allocations: 9.641 kB / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3603, allocations: 57.06 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3603, allocations: 0 / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3603, allocations: 1.156 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3603, allocations: 1.406 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.284e-05/0.3604, allocations: 29.62 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3608, allocations: 276.3 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3611, allocations: 52.67 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.3611, allocations: 15.52 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3612, allocations: 5.234 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3612, allocations: 35.69 kB / 0.5353 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3612, allocations: 0 / 0.5353 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005842/0.3618, allocations: 162.9 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.3618, allocations: 52.69 kB / 0.5355 GB, free: 10.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.362, allocations: 166.6 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.362, allocations: 25.7 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3621, allocations: 96.77 kB / 0.5358 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3621, allocations: 12.92 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3622, allocations: 18.31 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3623, allocations: 326.2 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.3624, allocations: 19.02 kB / 0.5361 GB, free: 9.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.3624, allocations: 20.64 kB / 0.5361 GB, free: 9.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3626, allocations: 50.98 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3626, allocations: 1.062 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001952/0.3628, allocations: 94.81 kB / 0.5363 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3628, allocations: 9.25 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3628, allocations: 1.25 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3628, allocations: 0 / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.3629, allocations: 14.17 kB / 0.5363 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3629, allocations: 0 / 0.5363 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.363, allocations: 7.594 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.363, allocations: 1.469 kB / 0.5363 GB, free: 9.582 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 9e-05/0.3631, allocations: 119.3 kB / 0.5364 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3631, allocations: 12.03 kB / 0.5364 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3634, allocations: 101.6 kB / 0.5365 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3634, allocations: 3.938 kB / 0.5365 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3634, allocations: 1.375 kB / 0.5365 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3634, allocations: 3.938 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3638, allocations: 352.4 kB / 0.5369 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3639, allocations: 5.375 kB / 0.5369 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.3639, allocations: 17.55 kB / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3639, allocations: 0 / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.364, allocations: 9.312 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.364, allocations: 0 / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.364, allocations: 0 / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3642, allocations: 186.8 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.3643, allocations: 83.7 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3643, allocations: 5.156 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.3644, allocations: 6.453 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3644, allocations: 6.906 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3644, allocations: 1.375 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3645, allocations: 123.2 kB / 0.5373 GB, free: 8.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3645, allocations: 1.562 kB / 0.5373 GB, free: 8.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.3648, allocations: 17.34 kB / 0.5373 GB, free: 8.625 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.0009599/0.3657, allocations: 417.6 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.366, allocations: 50.45 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.366, allocations: 1.125 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3661, allocations: 23.95 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3664, allocations: 19.8 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.3669, allocations: 231.9 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3672, allocations: 0.6929 MB / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3673, allocations: 20.67 kB / 0.5387 GB, free: 7.438 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3673, allocations: 0 / 0.5387 GB, free: 7.438 MB / 398.1 MB Notification: Performance of Templates: time 0.003576/0.3709, allocations: 1.48 MB / 0.5402 GB, free: 6.676 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches