Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.239/0.239, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 80.09 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3918, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003318/0.3952, allocations: 1.927 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.3973, allocations: 1.118 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3974, allocations: 1.875 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.398, allocations: 259 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.3986, allocations: 234.9 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3989, allocations: 114.6 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.3993, allocations: 276.5 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.3995, allocations: 24.81 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.3997, allocations: 134.6 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.4, allocations: 187.5 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.4, allocations: 8.719 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.4002, allocations: 63.3 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.4003, allocations: 67.84 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.4004, allocations: 104.6 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.4008, allocations: 250.9 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4008, allocations: 1 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4008, allocations: 0 / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.4009, allocations: 0 / 0.5357 GB, free: 10.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008957/0.4018, allocations: 0.5975 MB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4018, allocations: 12.94 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.4019, allocations: 31.66 kB / 0.5363 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4024, allocations: 295.6 kB / 0.5366 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.4024, allocations: 7.969 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.4024, allocations: 12.7 kB / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.4027, allocations: 111.5 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4028, allocations: 1.094 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4028, allocations: 5.062 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4028, allocations: 2.281 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.4029, allocations: 48.39 kB / 0.5368 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.4036, allocations: 486.1 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.4041, allocations: 126.5 kB / 0.5374 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.4042, allocations: 52.17 kB / 0.5374 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4042, allocations: 2.312 kB / 0.5374 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.4045, allocations: 121.6 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.826e-06/0.4045, allocations: 4 kB / 0.5376 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.4059, allocations: 0.5139 MB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.406, allocations: 79.33 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.4066, allocations: 0.4901 MB / 0.5386 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.4067, allocations: 31.98 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4068, allocations: 168.6 kB / 0.5388 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.4069, allocations: 82.02 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.407, allocations: 40.98 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4072, allocations: 349.6 kB / 0.5393 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4073, allocations: 57.72 kB / 0.5393 GB, free: 7.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4075, allocations: 96.16 kB / 0.5394 GB, free: 7.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.4078, allocations: 160.4 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4078, allocations: 1.469 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004414/0.4083, allocations: 239.2 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4083, allocations: 9.312 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4083, allocations: 0.875 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4083, allocations: 1.969 kB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4085, allocations: 42.42 kB / 0.5398 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.4086, allocations: 10.36 kB / 0.5399 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.4086, allocations: 8.5 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4087, allocations: 6.125 kB / 0.5399 GB, free: 6.902 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002036/0.4089, allocations: 170.3 kB / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.4089, allocations: 39.67 kB / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.409, allocations: 45.84 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4091, allocations: 2.5 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4091, allocations: 3.984 kB / 0.5401 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4091, allocations: 5.188 kB / 0.5401 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4102, allocations: 0.747 MB / 0.5408 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4102, allocations: 0.9062 kB / 0.5408 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.4103, allocations: 32.64 kB / 0.5409 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4103, allocations: 6.281 kB / 0.5409 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4103, allocations: 11.7 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4104, allocations: 2.781 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4104, allocations: 1.469 kB / 0.5409 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.411, allocations: 432.1 kB / 0.5413 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.4111, allocations: 106.2 kB / 0.5414 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4111, allocations: 8.5 kB / 0.5414 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.4113, allocations: 12.42 kB / 0.5414 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.4113, allocations: 20.27 kB / 0.5415 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.4114, allocations: 13.06 kB / 0.5415 GB, free: 5.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.4119, allocations: 377 kB / 0.5418 GB, free: 5.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4119, allocations: 1.469 kB / 0.5418 GB, free: 5.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000378/0.4123, allocations: 52.52 kB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001315/0.4136, allocations: 0.5031 MB / 0.5424 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.414, allocations: 154.6 kB / 0.5425 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.414, allocations: 1.156 kB / 0.5425 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.4142, allocations: 87.53 kB / 0.5426 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.4148, allocations: 62.88 kB / 0.5427 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4158, allocations: 0.6049 MB / 0.5433 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4162, allocations: 0.7829 MB / 0.544 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.4163, allocations: 37.19 kB / 0.5441 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.4164, allocations: 33.42 kB / 0.5441 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4164, allocations: 1.125 kB / 0.5441 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Templates: time 0.007835/0.4243, allocations: 3.207 MB / 0.5472 GB, free: 0.9219 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches