Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 79.88 kB / 482 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3964, allocations: 62.44 MB / 0.5317 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003064/0.3995, allocations: 1.829 MB / 0.5335 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.4013, allocations: 1.096 MB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.4014, allocations: 5.312 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.4019, allocations: 305.4 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.4024, allocations: 258.2 kB / 0.5351 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.4026, allocations: 109.8 kB / 0.5352 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.4029, allocations: 262.3 kB / 0.5355 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.4029, allocations: 11.19 kB / 0.5355 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.4031, allocations: 129 kB / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.4033, allocations: 196.4 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.4034, allocations: 7.156 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.4035, allocations: 46.42 kB / 0.5358 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.4036, allocations: 146.2 kB / 0.536 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.4038, allocations: 155.1 kB / 0.5361 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.4042, allocations: 375.2 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.4042, allocations: 1.188 kB / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4042, allocations: 0 / 0.5365 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4042, allocations: 0 / 0.5365 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.0008826/0.4051, allocations: 0.7478 MB / 0.5372 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4052, allocations: 12.7 kB / 0.5372 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.4052, allocations: 50.91 kB / 0.5373 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.4058, allocations: 456 kB / 0.5377 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4058, allocations: 2.5 kB / 0.5377 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4059, allocations: 11.03 kB / 0.5377 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.4061, allocations: 83.02 kB / 0.5378 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4061, allocations: 1.031 kB / 0.5378 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4061, allocations: 9.125 kB / 0.5378 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4061, allocations: 0 / 0.5378 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4062, allocations: 23.98 kB / 0.5378 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.4066, allocations: 382.8 kB / 0.5382 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.4069, allocations: 105 kB / 0.5383 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.407, allocations: 46.61 kB / 0.5384 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.407, allocations: 0.8438 kB / 0.5384 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.4072, allocations: 115.8 kB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.4072, allocations: 0.6562 kB / 0.5385 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.4077, allocations: 200.7 kB / 0.5387 GB, free: 8.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4078, allocations: 82.48 kB / 0.5387 GB, free: 8.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.4089, allocations: 1.053 MB / 0.5398 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4089, allocations: 27.77 kB / 0.5398 GB, free: 7.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4091, allocations: 238.8 kB / 0.54 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4092, allocations: 32.33 kB / 0.54 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.4092, allocations: 29.77 kB / 0.5401 GB, free: 7.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4094, allocations: 370.2 kB / 0.5404 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.4095, allocations: 31.3 kB / 0.5405 GB, free: 7.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.4096, allocations: 53.75 kB / 0.5405 GB, free: 7.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.4097, allocations: 90.92 kB / 0.5406 GB, free: 7.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4098, allocations: 5.188 kB / 0.5406 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002918/0.4101, allocations: 178.5 kB / 0.5408 GB, free: 7.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4101, allocations: 5.5 kB / 0.5408 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4101, allocations: 1.094 kB / 0.5408 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4101, allocations: 2.156 kB / 0.5408 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4102, allocations: 20.89 kB / 0.5408 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.4102, allocations: 2.25 kB / 0.5408 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.4103, allocations: 3.969 kB / 0.5408 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4104, allocations: 8.594 kB / 0.5408 GB, free: 7.094 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.0002104/0.4106, allocations: 229.8 kB / 0.541 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.4106, allocations: 50.81 kB / 0.5411 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.4107, allocations: 67.31 kB / 0.5411 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4107, allocations: 1.469 kB / 0.5411 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4107, allocations: 1.469 kB / 0.5411 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4108, allocations: 0 / 0.5411 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4111, allocations: 350.5 kB / 0.5415 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4111, allocations: 4.969 kB / 0.5415 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.4111, allocations: 10.56 kB / 0.5415 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4111, allocations: 1.125 kB / 0.5415 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4111, allocations: 1.094 kB / 0.5415 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4111, allocations: 1.062 kB / 0.5415 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4112, allocations: 1.281 kB / 0.5415 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.4115, allocations: 212.6 kB / 0.5417 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4116, allocations: 138.8 kB / 0.5418 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.4117, allocations: 6.562 kB / 0.5418 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.4118, allocations: 3.031 kB / 0.5418 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4118, allocations: 15.98 kB / 0.5419 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4118, allocations: 4.156 kB / 0.5419 GB, free: 6.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.4127, allocations: 0.7891 MB / 0.5426 GB, free: 5.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4127, allocations: 0 / 0.5426 GB, free: 5.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.413, allocations: 45.16 kB / 0.5427 GB, free: 5.875 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.0009084/0.4139, allocations: 402.8 kB / 0.5431 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4141, allocations: 90.83 kB / 0.5431 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4141, allocations: 0 / 0.5431 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.4143, allocations: 39.33 kB / 0.5432 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.4147, allocations: 77.7 kB / 0.5433 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4159, allocations: 0.9124 MB / 0.5442 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4163, allocations: 0.8542 MB / 0.545 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.4164, allocations: 27.42 kB / 0.545 GB, free: 3.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4164, allocations: 4 kB / 0.545 GB, free: 3.887 MB / 398.1 MB Notification: Performance of Templates: time 0.007397/0.4238, allocations: 5.202 MB / 0.5501 GB, free: 14.69 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches