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.001016/0.001016, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 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.2246/0.2246, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 80.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3731, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003618/0.3768, allocations: 1.609 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3779, allocations: 0.5328 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.378, allocations: 1.531 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.3784, allocations: 106.4 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.379, allocations: 114.3 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3795, allocations: 102.6 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3797, allocations: 89.05 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3799, allocations: 16.23 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.38, allocations: 43.08 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3802, allocations: 64.94 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3802, allocations: 2.75 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3803, allocations: 48.86 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.3804, allocations: 25.53 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3805, allocations: 38.55 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.3808, allocations: 116.9 kB / 0.5339 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3808, allocations: 3.938 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.3808, allocations: 5.359 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3809, allocations: 0 / 0.5339 GB, free: 11.48 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.0006578/0.3815, allocations: 416.1 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3816, allocations: 13.56 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.3816, allocations: 10.34 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3819, allocations: 219.3 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3819, allocations: 1.75 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.3819, allocations: 11.09 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3821, allocations: 54.19 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3821, allocations: 0 / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3822, allocations: 5.312 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3822, allocations: 0 / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3823, allocations: 28.22 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3827, allocations: 300.6 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3829, allocations: 47.5 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.3829, allocations: 19.78 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.383, allocations: 1.438 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.383, allocations: 35.28 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.383, allocations: 4 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.384, allocations: 226.9 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3841, allocations: 52.66 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.3844, allocations: 262.9 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3844, allocations: 30.83 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3845, allocations: 110.9 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.3846, allocations: 30.48 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3846, allocations: 19.22 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3848, allocations: 323.3 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.3848, allocations: 25.64 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.3849, allocations: 26.69 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3851, allocations: 64.34 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3851, allocations: 0 / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.3853, allocations: 109 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3853, allocations: 5.219 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3854, allocations: 0 / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3854, allocations: 4.875 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3855, allocations: 17.36 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3855, allocations: 5.344 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.3856, allocations: 11.64 kB / 0.5363 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3856, allocations: 1.25 kB / 0.5363 GB, free: 9.309 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.0001068/0.3857, allocations: 135.5 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3858, allocations: 14.69 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.386, allocations: 121.6 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3861, allocations: 1.562 kB / 0.5365 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3861, allocations: 4 kB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3861, allocations: 3.938 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.3866, allocations: 406 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3866, allocations: 0 / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.3867, allocations: 22.78 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3867, allocations: 5.25 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3867, allocations: 1.344 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3867, allocations: 5.375 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3868, allocations: 0 / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.387, allocations: 200.9 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3871, allocations: 92.88 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3871, allocations: 9.234 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.3872, allocations: 6.75 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3872, allocations: 12.02 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3873, allocations: 10.34 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3874, allocations: 188.2 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3877, allocations: 22.25 kB / 0.5375 GB, free: 8.246 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.001087/0.3888, allocations: 454.8 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.389, allocations: 63.58 kB / 0.538 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3891, allocations: 3.938 kB / 0.538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.3892, allocations: 32.83 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3896, allocations: 32.3 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.3902, allocations: 289.1 kB / 0.5383 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3905, allocations: 0.718 MB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.3906, allocations: 20.05 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3906, allocations: 13.81 kB / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3906, allocations: 0 / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of Templates: time 0.004631/0.3953, allocations: 1.371 MB / 0.5404 GB, free: 6.301 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