Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001738, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2491/0.2491, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 83.86 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4066, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003187/0.4098, allocations: 1.742 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4117, allocations: 1.017 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.4118, allocations: 1.156 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.4122, allocations: 42.95 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.4125, allocations: 99.59 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.4128, allocations: 79.55 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.413, allocations: 104.8 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4131, allocations: 10.75 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4132, allocations: 35.95 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.4133, allocations: 37.84 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4134, allocations: 3.594 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.4135, allocations: 44.28 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.4136, allocations: 26.36 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.4136, allocations: 32 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.4139, allocations: 122.1 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4139, allocations: 1.375 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4139, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4139, allocations: 0 / 0.5344 GB, free: 11.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006405/0.4146, allocations: 419 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4146, allocations: 9.625 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.4147, allocations: 12.91 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.415, allocations: 217.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.415, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4151, allocations: 10.88 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4152, allocations: 50.05 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4152, allocations: 3.906 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.4153, allocations: 9.359 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4153, allocations: 0 / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.4154, allocations: 15 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.4158, allocations: 294.8 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.416, allocations: 57.88 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.416, allocations: 25.08 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4161, allocations: 1.375 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.4162, allocations: 69.14 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4162, allocations: 0 / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005854/0.4168, allocations: 175.2 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4169, allocations: 52.53 kB / 0.5357 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.4171, allocations: 196.1 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4171, allocations: 26.86 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.4172, allocations: 101.5 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4172, allocations: 22.75 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.4173, allocations: 37.11 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4174, allocations: 326 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.4175, allocations: 22.92 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.4176, allocations: 32.06 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4177, allocations: 58.67 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4177, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.418, allocations: 115.4 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.418, allocations: 5.969 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.418, allocations: 0 / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.418, allocations: 5.812 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.4181, allocations: 12.47 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4181, allocations: 5.156 kB / 0.5367 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.4182, allocations: 10.61 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4182, allocations: 2.656 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001085/0.4183, allocations: 126.7 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.4183, allocations: 10.62 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.4184, allocations: 17.73 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.4184, allocations: 5.031 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4184, allocations: 1.125 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4184, allocations: 3.938 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.419, allocations: 398.2 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.419, allocations: 1.094 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.419, allocations: 11.78 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.419, allocations: 1.062 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4191, allocations: 9.031 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4191, allocations: 1.094 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4191, allocations: 1.156 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.4194, allocations: 199.9 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.4194, allocations: 92.38 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.4195, allocations: 14.19 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.4196, allocations: 1.062 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.4196, allocations: 7.484 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4196, allocations: 3.375 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4198, allocations: 152.6 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4198, allocations: 1.062 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.4201, allocations: 24.84 kB / 0.5377 GB, free: 7.93 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001155/0.4212, allocations: 463.3 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.4214, allocations: 58.16 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4215, allocations: 0 / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.4215, allocations: 37.58 kB / 0.5382 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4219, allocations: 30.05 kB / 0.5383 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.4224, allocations: 235.8 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4227, allocations: 0.7014 MB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.4228, allocations: 22.52 kB / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.4228, allocations: 16.66 kB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4228, allocations: 0 / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of Templates: time 0.004938/0.4277, allocations: 1.759 MB / 0.5409 GB, free: 5.824 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches