Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, 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.2446/0.2446, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 76.11 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4904, allocations: 62.43 MB / 0.5311 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004621/0.4952, allocations: 1.734 MB / 0.5328 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.4975, allocations: 1.017 MB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4976, allocations: 1.562 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.4982, allocations: 37.98 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.4986, allocations: 98.41 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.4989, allocations: 87.97 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.4992, allocations: 96.56 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.4994, allocations: 6.938 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.4995, allocations: 48.02 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.4996, allocations: 37.45 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4997, allocations: 3.594 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.4998, allocations: 40.23 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.4999, allocations: 25.47 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.5, allocations: 36.83 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.5004, allocations: 116.7 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5004, allocations: 0 / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5004, allocations: 1.125 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.5004, allocations: 0 / 0.5344 GB, free: 11.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007783/0.5012, allocations: 419.2 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5013, allocations: 9.469 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.5013, allocations: 13.66 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.5017, allocations: 220.1 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.5017, allocations: 1.531 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.5018, allocations: 7 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.502, allocations: 53.33 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.502, allocations: 1.031 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.502, allocations: 0 / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.502, allocations: 1.375 kB / 0.5351 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.5021, allocations: 26.45 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5026, allocations: 285.5 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.5028, allocations: 57.92 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.5029, allocations: 22.47 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5029, allocations: 1.375 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.5031, allocations: 73.08 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5031, allocations: 0 / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006317/0.5037, allocations: 180.9 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5038, allocations: 52.78 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.504, allocations: 181.5 kB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.504, allocations: 31.23 kB / 0.5359 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.5041, allocations: 100.8 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.5041, allocations: 28.2 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.5042, allocations: 24.25 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5043, allocations: 329.7 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.5044, allocations: 18.45 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.5045, allocations: 35.77 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.5046, allocations: 59.69 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5046, allocations: 4.375 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.5048, allocations: 107 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5049, allocations: 5.406 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5049, allocations: 1.062 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5049, allocations: 5.125 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.505, allocations: 16.89 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.505, allocations: 1.156 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.5051, allocations: 10.12 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5051, allocations: 3.094 kB / 0.5367 GB, free: 8.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001099/0.5052, allocations: 125.3 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.5052, allocations: 9.359 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.5053, allocations: 18.72 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5053, allocations: 1.344 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.5053, allocations: 0 / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5053, allocations: 3.938 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.5058, allocations: 393.4 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5059, allocations: 1.031 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.5059, allocations: 23.25 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5059, allocations: 1.5 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5059, allocations: 5.312 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.5059, allocations: 1.062 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.506, allocations: 1.406 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.5063, allocations: 199.5 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.5064, allocations: 95.72 kB / 0.5375 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.5065, allocations: 6.5 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.5066, allocations: 2.344 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.5066, allocations: 7.266 kB / 0.5375 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.5067, allocations: 15.66 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.5068, allocations: 135 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5068, allocations: 0 / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.5072, allocations: 28.92 kB / 0.5377 GB, free: 7.965 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001362/0.5085, allocations: 456.3 kB / 0.5381 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.5088, allocations: 69.52 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5088, allocations: 1.094 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.5089, allocations: 25.66 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.5093, allocations: 39.92 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.5098, allocations: 214.8 kB / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5101, allocations: 0.7008 MB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.5102, allocations: 17.97 kB / 0.5392 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.5102, allocations: 20.06 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5102, allocations: 0 / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Templates: time 0.005331/0.5156, allocations: 1.727 MB / 0.5409 GB, free: 5.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches