Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, 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.2358/0.2358, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 83.81 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4909, allocations: 62.44 MB / 0.5311 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004061/0.495, allocations: 1.824 MB / 0.5328 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.4971, allocations: 1.092 MB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.4972, allocations: 5.312 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.4978, allocations: 304.5 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.4984, allocations: 255 kB / 0.5344 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.4987, allocations: 109 kB / 0.5345 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.4991, allocations: 259 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.4992, allocations: 17.11 kB / 0.5348 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.4994, allocations: 133.6 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.4997, allocations: 200 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.4997, allocations: 6.969 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4998, allocations: 50.94 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.5, allocations: 142.3 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.5002, allocations: 151.9 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.5008, allocations: 370.3 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5008, allocations: 1.094 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5008, allocations: 0 / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.5008, allocations: 4 kB / 0.5358 GB, free: 10.39 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.001183/0.502, allocations: 0.747 MB / 0.5366 GB, free: 9.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.502, allocations: 9.188 kB / 0.5366 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.5022, allocations: 50.72 kB / 0.5366 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.503, allocations: 456 kB / 0.537 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.503, allocations: 2.594 kB / 0.537 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.503, allocations: 10.88 kB / 0.5371 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.5032, allocations: 87.98 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5033, allocations: 3.984 kB / 0.5371 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5033, allocations: 5.188 kB / 0.5371 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5033, allocations: 0.7812 kB / 0.5371 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5034, allocations: 24.83 kB / 0.5372 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.5039, allocations: 378.2 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.5042, allocations: 109.1 kB / 0.5376 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.5043, allocations: 41.7 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.5044, allocations: 1.531 kB / 0.5377 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.5047, allocations: 120 kB / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5047, allocations: 0 / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005486/0.5052, allocations: 202.2 kB / 0.538 GB, free: 8.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.5053, allocations: 78.67 kB / 0.5381 GB, free: 8.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5067, allocations: 1.049 MB / 0.5391 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5067, allocations: 38.66 kB / 0.5391 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.5069, allocations: 234.5 kB / 0.5393 GB, free: 7.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.507, allocations: 31.89 kB / 0.5394 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.507, allocations: 30.55 kB / 0.5394 GB, free: 7.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.5073, allocations: 369.8 kB / 0.5398 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.5073, allocations: 27.8 kB / 0.5398 GB, free: 7.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.5075, allocations: 58.62 kB / 0.5398 GB, free: 7.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.5077, allocations: 94.05 kB / 0.5399 GB, free: 7.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5077, allocations: 1.031 kB / 0.5399 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003315/0.508, allocations: 175.6 kB / 0.5401 GB, free: 7.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.508, allocations: 8.391 kB / 0.5401 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5081, allocations: 5.469 kB / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5081, allocations: 1.469 kB / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.5082, allocations: 17.44 kB / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5082, allocations: 5.578 kB / 0.5401 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.5083, allocations: 4.781 kB / 0.5401 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5083, allocations: 4.562 kB / 0.5401 GB, free: 7.102 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002431/0.5086, allocations: 233.5 kB / 0.5404 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.5087, allocations: 51.06 kB / 0.5404 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.5088, allocations: 67.52 kB / 0.5405 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5088, allocations: 1.125 kB / 0.5405 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5088, allocations: 1.031 kB / 0.5405 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5088, allocations: 1.188 kB / 0.5405 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.5093, allocations: 349.8 kB / 0.5408 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5093, allocations: 1.312 kB / 0.5408 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.5094, allocations: 9.703 kB / 0.5408 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5094, allocations: 1.344 kB / 0.5408 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.5094, allocations: 2.594 kB / 0.5408 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5094, allocations: 4 kB / 0.5408 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5094, allocations: 5.25 kB / 0.5408 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.5098, allocations: 208.7 kB / 0.541 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.51, allocations: 138.9 kB / 0.5412 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.51, allocations: 2.312 kB / 0.5412 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.5101, allocations: 2.219 kB / 0.5412 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.5102, allocations: 16.73 kB / 0.5412 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.5102, allocations: 8.688 kB / 0.5412 GB, free: 6.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009848/0.5112, allocations: 0.788 MB / 0.542 GB, free: 5.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5112, allocations: 1.531 kB / 0.542 GB, free: 5.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.5115, allocations: 44.33 kB / 0.542 GB, free: 5.879 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001087/0.5126, allocations: 400.9 kB / 0.5424 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.5129, allocations: 82.62 kB / 0.5425 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5129, allocations: 5.125 kB / 0.5425 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.513, allocations: 43.41 kB / 0.5425 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.5135, allocations: 72.64 kB / 0.5426 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.515, allocations: 0.8692 MB / 0.5434 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.5156, allocations: 0.8504 MB / 0.5443 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.5157, allocations: 62.92 kB / 0.5443 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.5158, allocations: 31.42 kB / 0.5444 GB, free: 3.902 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5158, allocations: 0 / 0.5444 GB, free: 3.902 MB / 398.1 MB Notification: Performance of Templates: time 0.008954/0.5248, allocations: 3.889 MB / 0.5482 GB, free: 32 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches