Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002056, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 227.4 MB / 246.9 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.2301/0.2301, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 76.11 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4338, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003169/0.437, allocations: 1.624 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.4382, allocations: 0.5289 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.4383, allocations: 1.406 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.4386, allocations: 113.8 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.439, allocations: 106.3 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.4393, allocations: 100.6 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.4395, allocations: 91.61 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4396, allocations: 16.23 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.4397, allocations: 39.14 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.4398, allocations: 68.94 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.4398, allocations: 2.75 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4399, allocations: 44.86 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.44, allocations: 30.86 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.4401, allocations: 41.16 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.4403, allocations: 116.9 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4403, allocations: 1.375 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4403, allocations: 0 / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.4404, allocations: 0 / 0.5339 GB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000627/0.441, allocations: 421.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4411, allocations: 8.25 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.4411, allocations: 19.7 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.4414, allocations: 217.9 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4414, allocations: 1.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4414, allocations: 7.125 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4416, allocations: 50.19 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.4416, allocations: 1.375 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4417, allocations: 4 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4417, allocations: 1.375 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4418, allocations: 31.09 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.4422, allocations: 300.8 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4424, allocations: 43.22 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.4425, allocations: 20.16 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4425, allocations: 1.281 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4425, allocations: 35.78 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.4425, allocations: 3.984 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001014/0.4435, allocations: 227 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.4436, allocations: 60.73 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.444, allocations: 258.1 kB / 0.5355 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.444, allocations: 30.83 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.4441, allocations: 107.1 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.4441, allocations: 29.77 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.4442, allocations: 20.16 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4443, allocations: 327.1 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.4444, allocations: 25.42 kB / 0.536 GB, free: 9.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.4445, allocations: 30.75 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.4447, allocations: 60.52 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4447, allocations: 0 / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.4449, allocations: 103.9 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.445, allocations: 5.312 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.445, allocations: 9.188 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.445, allocations: 0 / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4451, allocations: 21.89 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4451, allocations: 1.312 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.4452, allocations: 14.67 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4452, allocations: 2.688 kB / 0.5363 GB, free: 9.312 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 (8): * Single equations (assignments): 8 * 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.0001079/0.4453, allocations: 127.7 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.4454, allocations: 16.91 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.4456, allocations: 121.5 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4457, allocations: 5.219 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4457, allocations: 0.9375 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4457, allocations: 3.938 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.4462, allocations: 406.4 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4462, allocations: 1 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.4463, allocations: 17.17 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4463, allocations: 5.25 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4463, allocations: 5.219 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4464, allocations: 5.406 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4464, allocations: 0 / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.4467, allocations: 208.9 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.4467, allocations: 89.08 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4468, allocations: 5.328 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.4468, allocations: 7.781 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.4469, allocations: 7.016 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4469, allocations: 7.062 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.4471, allocations: 187.6 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4471, allocations: 0 / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4474, allocations: 23.12 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001099/0.4485, allocations: 453.6 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.4487, allocations: 66.86 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4488, allocations: 0 / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.4489, allocations: 42.61 kB / 0.538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4493, allocations: 26.23 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.4499, allocations: 288.8 kB / 0.5383 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4502, allocations: 0.7111 MB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.4503, allocations: 20.45 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.4503, allocations: 16.78 kB / 0.539 GB, free: 7.02 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4504, allocations: 1 kB / 0.539 GB, free: 7.02 MB / 398.1 MB Notification: Performance of Templates: time 0.004671/0.455, allocations: 1.392 MB / 0.5404 GB, free: 6.305 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches