Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, 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.001597/0.001597, allocations: 206 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.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 80.06 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3934, allocations: 62.42 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00484/0.3983, allocations: 1.603 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3998, allocations: 0.5286 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3999, allocations: 3.938 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.4002, allocations: 29.28 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.4007, allocations: 73.66 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.4012, allocations: 86.55 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.4015, allocations: 70.11 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.4016, allocations: 14.05 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.4017, allocations: 25.55 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.4018, allocations: 21.08 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.4018, allocations: 3.562 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.4019, allocations: 32.05 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.402, allocations: 16.02 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.4021, allocations: 20.41 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.4024, allocations: 93.56 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4024, allocations: 0 / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4024, allocations: 0 / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4024, allocations: 0 / 0.5342 GB, free: 11.62 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.0006381/0.4031, allocations: 383.7 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4031, allocations: 8.906 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.4032, allocations: 9.312 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4034, allocations: 193 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.4034, allocations: 1.438 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4034, allocations: 6.594 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4036, allocations: 56.19 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4036, allocations: 3.938 kB / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4036, allocations: 0 / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4036, allocations: 1.156 kB / 0.5349 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.4037, allocations: 29.3 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.4042, allocations: 271.1 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.4044, allocations: 48.34 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4045, allocations: 14.86 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4045, allocations: 1.219 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4045, allocations: 35.8 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.4045, allocations: 0 / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005875/0.4051, allocations: 153.2 kB / 0.5354 GB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4052, allocations: 52.56 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4054, allocations: 170 kB / 0.5356 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4054, allocations: 26.67 kB / 0.5356 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.4054, allocations: 96.19 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.4055, allocations: 14.03 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.4055, allocations: 17.56 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4056, allocations: 321.8 kB / 0.536 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.4057, allocations: 17.77 kB / 0.5361 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.4058, allocations: 23.7 kB / 0.5361 GB, free: 9.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4059, allocations: 48.14 kB / 0.5361 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.406, allocations: 0 / 0.5361 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.4061, allocations: 81.14 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4062, allocations: 8.125 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4062, allocations: 1.375 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4062, allocations: 0 / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.4063, allocations: 13.61 kB / 0.5362 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4063, allocations: 1.375 kB / 0.5362 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.4063, allocations: 10.67 kB / 0.5362 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4063, allocations: 1.375 kB / 0.5362 GB, free: 9.648 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.137e-05/0.4064, allocations: 115.3 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.4065, allocations: 12.03 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.4068, allocations: 97.52 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4068, allocations: 5.312 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4068, allocations: 0 / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4068, allocations: 7.922 kB / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.4073, allocations: 340.3 kB / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4073, allocations: 8.062 kB / 0.5368 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.4073, allocations: 17.55 kB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4073, allocations: 1.375 kB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.4074, allocations: 3.938 kB / 0.5368 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4074, allocations: 1.375 kB / 0.5368 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4074, allocations: 0 / 0.5368 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4076, allocations: 180.3 kB / 0.537 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4077, allocations: 82.48 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.4077, allocations: 5.312 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.4078, allocations: 2.75 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.4078, allocations: 10.73 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4078, allocations: 1.375 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.4079, allocations: 123.9 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4079, allocations: 0 / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4082, allocations: 18.28 kB / 0.5372 GB, free: 8.703 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.001002/0.4092, allocations: 415.7 kB / 0.5376 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.4094, allocations: 43.41 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4094, allocations: 0 / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.4095, allocations: 28.2 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4099, allocations: 22.73 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.4105, allocations: 220.6 kB / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.4108, allocations: 0.6951 MB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.4109, allocations: 17.06 kB / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4109, allocations: 0 / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of Templates: time 0.005123/0.416, allocations: 1.441 MB / 0.54 GB, free: 6.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches