Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 199.8 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.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4007, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003053/0.4038, allocations: 1.625 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4049, allocations: 0.5377 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.405, allocations: 3.938 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4053, allocations: 111.1 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.4057, allocations: 118.5 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.406, allocations: 90.47 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.4062, allocations: 92.33 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4063, allocations: 16.56 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.4064, allocations: 39.23 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.4065, allocations: 72.73 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4065, allocations: 2.375 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4067, allocations: 49.2 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.4067, allocations: 21.86 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.4068, allocations: 38.39 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.407, allocations: 121.5 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.407, allocations: 0 / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.407, allocations: 0 / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.407, allocations: 0 / 0.5339 GB, free: 11.51 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.000536/0.4076, allocations: 424.9 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4076, allocations: 13.25 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.4077, allocations: 11.62 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4079, allocations: 210.1 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4079, allocations: 5.594 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.408, allocations: 2.75 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4081, allocations: 62.31 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4081, allocations: 1.094 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4082, allocations: 4 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4082, allocations: 1.125 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.4083, allocations: 23.55 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4087, allocations: 306.1 kB / 0.5349 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4088, allocations: 42.81 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.4088, allocations: 15.73 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.4089, allocations: 1.469 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4089, allocations: 38.48 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.4089, allocations: 1.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008798/0.4098, allocations: 234.9 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.4098, allocations: 52.78 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4101, allocations: 253.8 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4101, allocations: 30.77 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.4102, allocations: 107.2 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4102, allocations: 34.08 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.4103, allocations: 24.09 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4104, allocations: 331.3 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.4105, allocations: 20.83 kB / 0.536 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.4105, allocations: 23.2 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4107, allocations: 67.73 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4107, allocations: 4 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.4109, allocations: 101.4 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.411, allocations: 4.5 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.411, allocations: 9.047 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.411, allocations: 0 / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.4111, allocations: 14.22 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4111, allocations: 1.438 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.4112, allocations: 14.3 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.4112, allocations: 6.188 kB / 0.5363 GB, free: 9.336 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.0001036/0.4113, allocations: 131.5 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.4113, allocations: 13.75 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.4116, allocations: 125.2 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4116, allocations: 1.844 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4116, allocations: 0 / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4117, allocations: 4.938 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.4122, allocations: 413 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4122, allocations: 1.156 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4123, allocations: 13.56 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4123, allocations: 5.062 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.4123, allocations: 5.109 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4123, allocations: 1.188 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4123, allocations: 5.156 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4126, allocations: 208.9 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4126, allocations: 88.55 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.4126, allocations: 0.875 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.4127, allocations: 3.625 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.4128, allocations: 11.48 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4128, allocations: 6.188 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.4129, allocations: 188.5 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 0 / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.4132, allocations: 23.66 kB / 0.5374 GB, free: 8.285 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.001019/0.4142, allocations: 459.6 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.4145, allocations: 62.89 kB / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4145, allocations: 0 / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.4146, allocations: 38.67 kB / 0.538 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4149, allocations: 22.23 kB / 0.538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.4155, allocations: 293.6 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4158, allocations: 0.7147 MB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.4158, allocations: 12.06 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.4159, allocations: 14.03 kB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4159, allocations: 4 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.004168/0.4201, allocations: 1.391 MB / 0.5404 GB, free: 6.328 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches