Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.484, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00338/0.4874, allocations: 1.831 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.4902, allocations: 1.691 MB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.4903, allocations: 1.375 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.4907, allocations: 58.75 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.4912, allocations: 133.8 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.4915, allocations: 101.8 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.4919, allocations: 207.8 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.492, allocations: 13.31 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.4922, allocations: 84.44 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.4925, allocations: 83.58 kB / 0.5351 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.4926, allocations: 13.17 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.4929, allocations: 114.2 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.493, allocations: 36.88 kB / 0.5353 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.4931, allocations: 66.08 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.4937, allocations: 223.5 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4937, allocations: 4 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.26e-06/0.4937, allocations: 1.25 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.4937, allocations: 0 / 0.5356 GB, free: 10.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.0009024/0.4946, allocations: 0.5019 MB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4947, allocations: 9.156 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.4947, allocations: 17.28 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4952, allocations: 262.8 kB / 0.5363 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4952, allocations: 1.5 kB / 0.5364 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4952, allocations: 6.875 kB / 0.5364 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.4955, allocations: 108.1 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4955, allocations: 0 / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4955, allocations: 1.219 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4956, allocations: 1.062 kB / 0.5365 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4957, allocations: 36.97 kB / 0.5365 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.496, allocations: 212.8 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.4963, allocations: 109.3 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4964, allocations: 42.8 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.4964, allocations: 1.219 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.4967, allocations: 107.7 kB / 0.537 GB, free: 8.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4967, allocations: 1.281 kB / 0.537 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005254/0.4972, allocations: 170.8 kB / 0.5371 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.4973, allocations: 135.5 kB / 0.5372 GB, free: 8.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.4976, allocations: 238.7 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4977, allocations: 31.98 kB / 0.5375 GB, free: 8.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4977, allocations: 118.7 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.4978, allocations: 29.39 kB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4979, allocations: 26.53 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.498, allocations: 332.3 kB / 0.538 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.4981, allocations: 27.14 kB / 0.538 GB, free: 7.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4982, allocations: 73.33 kB / 0.5381 GB, free: 7.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.4984, allocations: 91.41 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4984, allocations: 1.25 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002723/0.4987, allocations: 140.7 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4987, allocations: 5.688 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4987, allocations: 1.25 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4987, allocations: 1.312 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4989, allocations: 30.23 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4989, allocations: 1.062 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.499, allocations: 16.5 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.499, allocations: 8.438 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000136/0.4991, allocations: 137.2 kB / 0.5385 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.4992, allocations: 20.67 kB / 0.5385 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.4992, allocations: 19.53 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4992, allocations: 1.156 kB / 0.5385 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4993, allocations: 5.078 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4993, allocations: 5.047 kB / 0.5385 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.4995, allocations: 227.3 kB / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4995, allocations: 0 / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.4995, allocations: 7.406 kB / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4995, allocations: 1.125 kB / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4996, allocations: 6.156 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4996, allocations: 7.984 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4996, allocations: 1.125 kB / 0.5388 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4999, allocations: 167 kB / 0.5389 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.5, allocations: 93.92 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5, allocations: 6.922 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.5001, allocations: 3.156 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.5001, allocations: 16.52 kB / 0.5391 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.5002, allocations: 8.531 kB / 0.5391 GB, free: 6.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.5004, allocations: 178.8 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5004, allocations: 3.938 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.5007, allocations: 53.23 kB / 0.5393 GB, free: 6.723 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001303/0.502, allocations: 0.4971 MB / 0.5398 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.5023, allocations: 79.91 kB / 0.5399 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5023, allocations: 4.125 kB / 0.5399 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5024, allocations: 47.09 kB / 0.5399 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.5028, allocations: 59.3 kB / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.5035, allocations: 276.6 kB / 0.5402 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5038, allocations: 0.7226 MB / 0.5409 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.47e-05/0.5039, allocations: 28.12 kB / 0.541 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.504, allocations: 29.62 kB / 0.541 GB, free: 5.414 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.504, allocations: 0 / 0.541 GB, free: 5.414 MB / 398.1 MB Notification: Performance of Templates: time 0.007056/0.511, allocations: 3.131 MB / 0.544 GB, free: 3.82 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches