Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 112.4 kB / 18.45 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.001573/0.001573, allocations: 212 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.405/1.405, allocations: 227.4 MB / 247.6 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.2248/0.2248, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3944, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003208/0.3977, allocations: 1.607 MB / 0.5332 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3995, allocations: 1.158 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.3996, allocations: 5.312 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.3998, allocations: 31.97 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.4001, allocations: 85.73 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.4005, allocations: 112.4 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.4006, allocations: 59.41 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4007, allocations: 14.86 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.4008, allocations: 29.47 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.401, allocations: 38.8 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.401, allocations: 4.125 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.4012, allocations: 95.92 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.4012, allocations: 10.62 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4013, allocations: 29.06 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.4015, allocations: 139.1 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4016, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4016, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4016, allocations: 1.375 kB / 0.535 GB, free: 11.07 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.0005473/0.4021, allocations: 403 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4022, allocations: 10.19 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.4022, allocations: 7.562 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4025, allocations: 196.4 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4025, allocations: 4.312 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.4025, allocations: 6.469 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4027, allocations: 68.17 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4027, allocations: 1.281 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4027, allocations: 4 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4028, allocations: 1.312 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.4028, allocations: 21.77 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.4033, allocations: 283.6 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4035, allocations: 49.12 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.4036, allocations: 23.88 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4036, allocations: 1.031 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4036, allocations: 31.66 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4036, allocations: 0 / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005793/0.4042, allocations: 149.7 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4043, allocations: 82.36 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.4044, allocations: 146.6 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4045, allocations: 25.7 kB / 0.5364 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4045, allocations: 91.55 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.4046, allocations: 21.95 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.4046, allocations: 18.22 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4048, allocations: 325 kB / 0.5369 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.4048, allocations: 20.14 kB / 0.5369 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.4049, allocations: 40.48 kB / 0.5369 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4051, allocations: 55.17 kB / 0.537 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4051, allocations: 0 / 0.537 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.4053, allocations: 83.22 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4053, allocations: 7.906 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4053, allocations: 5.344 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4053, allocations: 288 / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.4054, allocations: 13.92 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4054, allocations: 0 / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.4055, allocations: 7.875 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.4055, allocations: 9.312 kB / 0.5371 GB, free: 9.008 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 9.326e-05/0.4056, allocations: 117.5 kB / 0.5372 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.4056, allocations: 7.734 kB / 0.5372 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.4059, allocations: 100.1 kB / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.4059, allocations: 5.047 kB / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4059, allocations: 1.312 kB / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4059, allocations: 0 / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4064, allocations: 367.6 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4064, allocations: 0 / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.4064, allocations: 9.25 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4065, allocations: 9.062 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4065, allocations: 4.938 kB / 0.5377 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4065, allocations: 7.922 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4065, allocations: 1.062 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4067, allocations: 186.6 kB / 0.5379 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.4068, allocations: 82.34 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.4068, allocations: 1.375 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.4069, allocations: 11.91 kB / 0.538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.4069, allocations: 5.422 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4069, allocations: 2.5 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.407, allocations: 109.4 kB / 0.5381 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.407, allocations: 0 / 0.5381 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4073, allocations: 48.95 kB / 0.5381 GB, free: 8.031 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.001193/0.4085, allocations: 492.1 kB / 0.5386 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4088, allocations: 51.31 kB / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4088, allocations: 0 / 0.5387 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.4089, allocations: 37.25 kB / 0.5387 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.4092, allocations: 18.81 kB / 0.5387 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.4097, allocations: 200.1 kB / 0.5389 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.41, allocations: 0.6946 MB / 0.5396 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.41, allocations: 22.7 kB / 0.5396 GB, free: 6.836 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4101, allocations: 0 / 0.5396 GB, free: 6.836 MB / 398.1 MB Notification: Performance of Templates: time 0.004107/0.4142, allocations: 1.964 MB / 0.5415 GB, free: 5.824 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches