Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 118.8 kB / 17.78 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.001145/0.001145, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, 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.273/0.273, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 75.81 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.387, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00315/0.3902, allocations: 1.733 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.392, allocations: 1.017 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.3921, allocations: 1.156 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3924, allocations: 50.59 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.3928, allocations: 91.09 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.393, allocations: 78.92 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3932, allocations: 102.3 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3933, allocations: 10.88 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.3934, allocations: 46.89 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.3935, allocations: 33.36 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3935, allocations: 8.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.3937, allocations: 40.86 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.3937, allocations: 22.78 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.3938, allocations: 39.98 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.394, allocations: 117.3 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.394, allocations: 1.375 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.394, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.394, allocations: 0 / 0.5344 GB, free: 11.07 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.0005284/0.3946, allocations: 428.8 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3946, allocations: 13.62 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3947, allocations: 14.33 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.395, allocations: 215.9 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.395, allocations: 5.75 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.395, allocations: 6.875 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3952, allocations: 58.03 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3952, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3952, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3952, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.3953, allocations: 26.92 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.3957, allocations: 282.9 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3959, allocations: 57.92 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.3959, allocations: 18.08 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.396, allocations: 9.047 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.3961, allocations: 72.55 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3961, allocations: 0 / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005716/0.3967, allocations: 175.4 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3968, allocations: 55.39 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.397, allocations: 196.9 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.397, allocations: 26.89 kB / 0.536 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.3971, allocations: 105.1 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3971, allocations: 31.8 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.3972, allocations: 20.28 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3973, allocations: 326.5 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/0.3974, allocations: 22.3 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.3975, allocations: 35.8 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3976, allocations: 67.55 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3976, allocations: 0 / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.3978, allocations: 99.56 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3978, allocations: 5.625 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3978, allocations: 0 / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3979, allocations: 1.125 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.398, allocations: 22.11 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.398, allocations: 0 / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.398, allocations: 6.031 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3981, allocations: 11.59 kB / 0.5367 GB, free: 8.887 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.0001097/0.3982, allocations: 122.9 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3982, allocations: 13.69 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.3982, allocations: 13.91 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3983, allocations: 9.109 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3983, allocations: 1.156 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3983, allocations: 3.938 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.3988, allocations: 394.1 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3988, allocations: 1.031 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.3988, allocations: 15.91 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3988, allocations: 4.953 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3989, allocations: 4.938 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3989, allocations: 1.188 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3989, allocations: 0.9375 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3991, allocations: 201 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.3992, allocations: 87.92 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3992, allocations: 6.375 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.3993, allocations: 6.141 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3993, allocations: 10.81 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3993, allocations: 7.219 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3995, allocations: 148.6 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3995, allocations: 1.156 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3998, allocations: 28.61 kB / 0.5377 GB, free: 7.922 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.001029/0.4008, allocations: 462.1 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.401, allocations: 58.38 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.401, allocations: 4.062 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.4011, allocations: 29.27 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.4015, allocations: 36.28 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.4019, allocations: 227.3 kB / 0.5385 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4022, allocations: 0.7063 MB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.4022, allocations: 19.36 kB / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.4023, allocations: 18.69 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4023, allocations: 0 / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Templates: time 0.005113/0.4074, allocations: 1.734 MB / 0.5409 GB, free: 5.832 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches