Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001106, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4809, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003439/0.4844, allocations: 1.6 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.4863, allocations: 1.163 MB / 0.5337 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.4864, allocations: 1.281 kB / 0.5337 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.4866, allocations: 27.72 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.487, allocations: 81.5 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.4874, allocations: 118.8 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.4876, allocations: 63.33 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.4877, allocations: 14.86 kB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.4878, allocations: 33.48 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.488, allocations: 30.84 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.488, allocations: 4.125 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.4882, allocations: 104.1 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.4883, allocations: 10.69 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.4883, allocations: 25.36 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4886, allocations: 134.5 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.4886, allocations: 1.375 kB / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4886, allocations: 0 / 0.5343 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4887, allocations: 0 / 0.5343 GB, free: 11.27 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.0005425/0.4892, allocations: 409.7 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4893, allocations: 9.625 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.4893, allocations: 7.594 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4896, allocations: 189.8 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4896, allocations: 1.75 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.4896, allocations: 5.75 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4898, allocations: 61.28 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4898, allocations: 7.984 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4898, allocations: 4 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4898, allocations: 5.312 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.4899, allocations: 21.73 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.4904, allocations: 284.7 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.4907, allocations: 44.38 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.4907, allocations: 27.41 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4908, allocations: 1.062 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4908, allocations: 31.72 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.4908, allocations: 0 / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006181/0.4914, allocations: 150.8 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4915, allocations: 82.27 kB / 0.5356 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4917, allocations: 147.9 kB / 0.5358 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4917, allocations: 29.64 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.4918, allocations: 92.05 kB / 0.5359 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.4918, allocations: 22.16 kB / 0.5359 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.4918, allocations: 21.98 kB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.492, allocations: 317.4 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.492, allocations: 27.97 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.4921, allocations: 35.83 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4923, allocations: 55.02 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4923, allocations: 1.594 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.4925, allocations: 82.97 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4925, allocations: 4.562 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4925, allocations: 4.031 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4926, allocations: 1.062 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.4926, allocations: 18.08 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4926, allocations: 0 / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.4927, allocations: 7.188 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4927, allocations: 6.344 kB / 0.5365 GB, free: 9.191 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 9.568e-05/0.4928, allocations: 118.3 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.4929, allocations: 3.656 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4931, allocations: 107.7 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4931, allocations: 1.031 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4931, allocations: 0 / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4931, allocations: 5.141 kB / 0.5367 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4936, allocations: 350.9 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4936, allocations: 0 / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4937, allocations: 21.77 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4937, allocations: 1.062 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.4937, allocations: 9.062 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4937, allocations: 3.938 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4937, allocations: 5.109 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.494, allocations: 182 kB / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.494, allocations: 83.25 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.4941, allocations: 5.188 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.4942, allocations: 11.81 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.4942, allocations: 4.922 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4942, allocations: 2.219 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.4943, allocations: 110.5 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4943, allocations: 0 / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4946, allocations: 43.27 kB / 0.5375 GB, free: 8.223 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.001279/0.4959, allocations: 494 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.4962, allocations: 55.06 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4962, allocations: 0.5 kB / 0.538 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.4963, allocations: 29.44 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4966, allocations: 23.45 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.4971, allocations: 169.5 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4975, allocations: 0.7015 MB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.787e-05/0.4976, allocations: 22.5 kB / 0.5389 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4976, allocations: 12.78 kB / 0.5389 GB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4976, allocations: 1.188 kB / 0.5389 GB, free: 7.047 MB / 398.1 MB Notification: Performance of Templates: time 0.004999/0.5026, allocations: 1.763 MB / 0.5407 GB, free: 6.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches