Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.6 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.2089/0.2089, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 76.09 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 62.44 MB / 0.5317 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003313/0.3733, allocations: 1.617 MB / 0.5333 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3744, allocations: 0.5377 MB / 0.5338 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3745, allocations: 0 / 0.5338 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.3748, allocations: 82.08 kB / 0.5339 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.3753, allocations: 98.16 kB / 0.534 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.3756, allocations: 94.06 kB / 0.534 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3758, allocations: 88.52 kB / 0.5341 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.376, allocations: 16.47 kB / 0.5341 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.376, allocations: 39.7 kB / 0.5342 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3762, allocations: 51.83 kB / 0.5342 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3762, allocations: 3.562 kB / 0.5342 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3763, allocations: 48.66 kB / 0.5343 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.3764, allocations: 23.73 kB / 0.5343 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.3764, allocations: 33.5 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3767, allocations: 105.7 kB / 0.5344 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3767, allocations: 0 / 0.5344 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3767, allocations: 5.078 kB / 0.5344 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3767, allocations: 0 / 0.5344 GB, free: 11.77 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.0005093/0.3772, allocations: 409.7 kB / 0.5348 GB, free: 11.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.3773, allocations: 9.312 kB / 0.5348 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.3773, allocations: 9.656 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3775, allocations: 208.1 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3776, allocations: 6.766 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3776, allocations: 6.625 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3777, allocations: 58.3 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3778, allocations: 3.906 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3778, allocations: 1.094 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3778, allocations: 1.219 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.382e-05/0.3779, allocations: 22.55 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3783, allocations: 303.3 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3784, allocations: 42.38 kB / 0.5355 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.3785, allocations: 20.73 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3785, allocations: 1.156 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3785, allocations: 35.77 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3785, allocations: 4 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008818/0.3794, allocations: 225.6 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3795, allocations: 52.88 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.3797, allocations: 214.4 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3797, allocations: 33.7 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.3798, allocations: 106.9 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3799, allocations: 30.3 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.3799, allocations: 19.22 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.38, allocations: 323 kB / 0.5365 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.3801, allocations: 25.64 kB / 0.5365 GB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.3802, allocations: 26.44 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3803, allocations: 68.91 kB / 0.5366 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3803, allocations: 0 / 0.5366 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001944/0.3805, allocations: 99.38 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3806, allocations: 5.094 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3806, allocations: 1.469 kB / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3806, allocations: 0 / 0.5367 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3807, allocations: 22.39 kB / 0.5367 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3807, allocations: 0 / 0.5367 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.3808, allocations: 15.77 kB / 0.5367 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3808, allocations: 2.156 kB / 0.5368 GB, free: 9.637 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.37e-05/0.3809, allocations: 123.7 kB / 0.5369 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.3809, allocations: 13.03 kB / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.3812, allocations: 120.6 kB / 0.537 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3812, allocations: 1.156 kB / 0.537 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3812, allocations: 4 kB / 0.537 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3812, allocations: 4.359 kB / 0.537 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.3818, allocations: 403.7 kB / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3818, allocations: 3.938 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.3818, allocations: 14.38 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.3819, allocations: 9.203 kB / 0.5374 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3819, allocations: 1.281 kB / 0.5374 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3819, allocations: 5.406 kB / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3819, allocations: 0 / 0.5374 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3821, allocations: 216.2 kB / 0.5376 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3822, allocations: 88.42 kB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3822, allocations: 0.7188 kB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3823, allocations: 8.25 kB / 0.5377 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3823, allocations: 10.7 kB / 0.5377 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.3824, allocations: 7.219 kB / 0.5377 GB, free: 8.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3825, allocations: 167 kB / 0.5379 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3825, allocations: 0 / 0.5379 GB, free: 8.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.3828, allocations: 26.67 kB / 0.5379 GB, free: 8.582 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.001112/0.3839, allocations: 454.7 kB / 0.5384 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3842, allocations: 65.89 kB / 0.5384 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3842, allocations: 1 kB / 0.5384 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3843, allocations: 37.34 kB / 0.5385 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3847, allocations: 22.91 kB / 0.5385 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.3853, allocations: 289.3 kB / 0.5388 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3856, allocations: 0.7039 MB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.3857, allocations: 22.27 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3857, allocations: 0 / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of Templates: time 0.004113/0.3898, allocations: 1.758 MB / 0.5412 GB, free: 6.43 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches