Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4529, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003146/0.4561, allocations: 1.606 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4582, allocations: 1.156 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.4582, allocations: 1 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.4585, allocations: 24.12 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.4588, allocations: 82.34 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.4591, allocations: 94.3 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.4593, allocations: 66.52 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4594, allocations: 6.281 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.4594, allocations: 33.84 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4596, allocations: 30.94 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.4597, allocations: 3.281 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.4598, allocations: 104 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.4599, allocations: 19 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.46, allocations: 20.34 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4602, allocations: 139.3 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4603, allocations: 3.938 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4603, allocations: 0 / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.4603, allocations: 0 / 0.5343 GB, free: 11.05 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.000571/0.4608, allocations: 400.6 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4609, allocations: 9.125 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.461, allocations: 16.33 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.4612, allocations: 191.2 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4612, allocations: 5.453 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4613, allocations: 1.562 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4614, allocations: 63.69 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4614, allocations: 1.031 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4615, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4615, allocations: 1.062 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.4616, allocations: 36.95 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.462, allocations: 272.1 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4622, allocations: 43.06 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.4623, allocations: 19.69 kB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4623, allocations: 3.938 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4624, allocations: 35.94 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4624, allocations: 0 / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005861/0.463, allocations: 137.8 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.463, allocations: 78.48 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4632, allocations: 149.3 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4632, allocations: 31.08 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.4633, allocations: 90.89 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.4633, allocations: 21.02 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.4634, allocations: 19.22 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4635, allocations: 324.1 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.4636, allocations: 14.98 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.4636, allocations: 38.14 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.4638, allocations: 48.23 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4638, allocations: 0 / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.464, allocations: 80.55 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.464, allocations: 6.562 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.464, allocations: 0 / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4641, allocations: 0 / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.4641, allocations: 14.23 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.4642, allocations: 4 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4642, allocations: 7.688 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4642, allocations: 5.406 kB / 0.5364 GB, free: 9 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 8.56e-05/0.4643, allocations: 117.7 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.4644, allocations: 4.156 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4647, allocations: 100.7 kB / 0.5366 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4647, allocations: 0 / 0.5366 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4647, allocations: 5.062 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4647, allocations: 0 / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.4652, allocations: 350.8 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4652, allocations: 0 / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.4653, allocations: 18.2 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4653, allocations: 0 / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4653, allocations: 9.031 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4653, allocations: 5.156 kB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4653, allocations: 4 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4655, allocations: 175.8 kB / 0.5371 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.4656, allocations: 79.23 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4656, allocations: 1.094 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.4657, allocations: 11.08 kB / 0.5372 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4658, allocations: 6.188 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4658, allocations: 5.094 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4659, allocations: 117 kB / 0.5373 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4659, allocations: 0 / 0.5373 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.4662, allocations: 44.42 kB / 0.5374 GB, free: 8.039 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.001187/0.4674, allocations: 491.7 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4676, allocations: 44.41 kB / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4676, allocations: 0 / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.4677, allocations: 31.44 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4681, allocations: 25.34 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.4685, allocations: 169.6 kB / 0.5381 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4688, allocations: 0.69 MB / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.4689, allocations: 18.83 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.469, allocations: 13.47 kB / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.469, allocations: 0 / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of Templates: time 0.004672/0.4736, allocations: 1.754 MB / 0.5405 GB, free: 5.957 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches