Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 199.8 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.482/1.482, 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.2847/0.2847, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 88.16 kB / 481.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3949, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003088/0.398, allocations: 1.84 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.4, allocations: 1.085 MB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.4002, allocations: 5.312 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.4008, allocations: 299.4 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.4015, allocations: 252.2 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.4018, allocations: 109.1 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.4022, allocations: 258.3 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.4023, allocations: 13.14 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.4024, allocations: 132.8 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.4027, allocations: 188.9 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.4027, allocations: 7.938 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.4029, allocations: 50.03 kB / 0.5352 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.4031, allocations: 137.3 kB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.4032, allocations: 155 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.4037, allocations: 366.2 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4037, allocations: 0 / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4037, allocations: 1.125 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4037, allocations: 0 / 0.5358 GB, free: 10.23 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.001004/0.4047, allocations: 0.731 MB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4048, allocations: 8.469 kB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.4049, allocations: 53.94 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.4058, allocations: 453.5 kB / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.4058, allocations: 2.531 kB / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4058, allocations: 6.656 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4061, allocations: 84.45 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4061, allocations: 3.938 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4061, allocations: 1.125 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4061, allocations: 1.156 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.4063, allocations: 31.59 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.4068, allocations: 375.7 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.4071, allocations: 101.6 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4072, allocations: 50.02 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4072, allocations: 1 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.4074, allocations: 112.5 kB / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4074, allocations: 0 / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005036/0.4079, allocations: 204.1 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.408, allocations: 78.77 kB / 0.538 GB, free: 8.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4092, allocations: 1.028 MB / 0.539 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.4092, allocations: 30.92 kB / 0.539 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4094, allocations: 233.3 kB / 0.5393 GB, free: 7.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.4095, allocations: 24.39 kB / 0.5393 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.4095, allocations: 30.7 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4097, allocations: 365.1 kB / 0.5397 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.4098, allocations: 31.98 kB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4099, allocations: 62.28 kB / 0.5397 GB, free: 7.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.4101, allocations: 90.42 kB / 0.5398 GB, free: 7.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4101, allocations: 4 kB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.4104, allocations: 175.3 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4105, allocations: 7.094 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4105, allocations: 1.094 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4105, allocations: 2.25 kB / 0.54 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4106, allocations: 21.8 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4106, allocations: 1.25 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4107, allocations: 16.69 kB / 0.5401 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4108, allocations: 7.719 kB / 0.5401 GB, free: 6.969 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.0002483/0.411, allocations: 228.5 kB / 0.5403 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.4111, allocations: 49.5 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.4112, allocations: 58.31 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4112, allocations: 2.062 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4112, allocations: 0.9688 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4112, allocations: 5.141 kB / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.4116, allocations: 343.2 kB / 0.5407 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4116, allocations: 1.125 kB / 0.5407 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.4116, allocations: 10.81 kB / 0.5407 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4116, allocations: 5.125 kB / 0.5407 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4117, allocations: 6.391 kB / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4117, allocations: 0 / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4117, allocations: 5.188 kB / 0.5407 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.412, allocations: 204.7 kB / 0.5409 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4122, allocations: 137.7 kB / 0.5411 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.4122, allocations: 6.406 kB / 0.5411 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.4123, allocations: 10.3 kB / 0.5411 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4123, allocations: 8.734 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4124, allocations: 4.75 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008216/0.4132, allocations: 0.7605 MB / 0.5418 GB, free: 5.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4132, allocations: 0 / 0.5418 GB, free: 5.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.4135, allocations: 44.36 kB / 0.5419 GB, free: 5.773 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.0009398/0.4145, allocations: 412.8 kB / 0.5423 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.4147, allocations: 80.09 kB / 0.5424 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4147, allocations: 0 / 0.5424 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4148, allocations: 39.3 kB / 0.5424 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4153, allocations: 75.56 kB / 0.5425 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4166, allocations: 0.8589 MB / 0.5433 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.417, allocations: 0.8466 MB / 0.5441 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.4172, allocations: 54.94 kB / 0.5442 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.4173, allocations: 35.36 kB / 0.5442 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4173, allocations: 0 / 0.5442 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Templates: time 0.008326/0.4256, allocations: 3.751 MB / 0.5479 GB, free: 228 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches