Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001844, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002615/0.002615, allocations: 200.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002918/0.4023, allocations: 1.62 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.4043, allocations: 1.157 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.4044, allocations: 1.062 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.4046, allocations: 25.39 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.4049, allocations: 85.17 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.4052, allocations: 95.06 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.4053, allocations: 74.67 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4055, allocations: 21.77 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.4055, allocations: 35.23 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.406, allocations: 39.3 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4061, allocations: 4.531 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.4063, allocations: 95.89 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.4063, allocations: 16.09 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.4064, allocations: 33.89 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.4066, allocations: 145.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4067, allocations: 0 / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4067, allocations: 5.375 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.4067, allocations: 0 / 0.535 GB, free: 11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000521/0.4072, allocations: 412.3 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4073, allocations: 9.625 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.4073, allocations: 8.969 kB / 0.5354 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4075, allocations: 200.4 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.4075, allocations: 1.75 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4076, allocations: 7.031 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4077, allocations: 85.38 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4078, allocations: 0 / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4078, allocations: 1.375 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4078, allocations: 1.375 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4079, allocations: 29.84 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.4084, allocations: 298.9 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.4085, allocations: 55.17 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.4086, allocations: 21.22 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4086, allocations: 1.375 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4087, allocations: 39.88 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.4087, allocations: 0 / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006254/0.4093, allocations: 178.2 kB / 0.5363 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.4094, allocations: 86.2 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4095, allocations: 160.9 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4096, allocations: 25.7 kB / 0.5366 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.4096, allocations: 92.3 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.4097, allocations: 26.89 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.4097, allocations: 20.5 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4098, allocations: 324.9 kB / 0.537 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.4099, allocations: 25.61 kB / 0.537 GB, free: 9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.41, allocations: 38.41 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4102, allocations: 60.47 kB / 0.5371 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4102, allocations: 0 / 0.5371 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002471/0.4104, allocations: 111.3 kB / 0.5372 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4105, allocations: 9.562 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4105, allocations: 0 / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4105, allocations: 5.312 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4106, allocations: 17.73 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4106, allocations: 0 / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.4107, allocations: 15.48 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4107, allocations: 2.125 kB / 0.5373 GB, free: 8.844 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 9.111e-05/0.4108, allocations: 122.7 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.4108, allocations: 9.188 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.4111, allocations: 114 kB / 0.5375 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4111, allocations: 1.125 kB / 0.5375 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4112, allocations: 384 / 0.5375 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4112, allocations: 3.938 kB / 0.5375 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.4117, allocations: 391.8 kB / 0.5379 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4117, allocations: 9.375 kB / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.4117, allocations: 13.53 kB / 0.5379 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.4118, allocations: 7.922 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4118, allocations: 1.156 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4118, allocations: 1.188 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4118, allocations: 0 / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.4121, allocations: 195 kB / 0.5381 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.4121, allocations: 83.2 kB / 0.5382 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4122, allocations: 9.062 kB / 0.5382 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.4122, allocations: 7.359 kB / 0.5382 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.4123, allocations: 3.375 kB / 0.5382 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4123, allocations: 2.344 kB / 0.5382 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.4124, allocations: 126.5 kB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4124, allocations: 0 / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.4127, allocations: 42.3 kB / 0.5384 GB, free: 7.848 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 (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.001152/0.4139, allocations: 499.3 kB / 0.5389 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.4141, allocations: 63.08 kB / 0.5389 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4141, allocations: 1.219 kB / 0.5389 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4142, allocations: 36.98 kB / 0.539 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4146, allocations: 19.86 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.4151, allocations: 216.6 kB / 0.5392 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4154, allocations: 0.7034 MB / 0.5399 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4155, allocations: 17 kB / 0.5399 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4155, allocations: 0 / 0.5399 GB, free: 6.633 MB / 398.1 MB Notification: Performance of Templates: time 0.005167/0.4207, allocations: 2.115 MB / 0.542 GB, free: 5.539 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches