Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001325, allocations: 205.2 kB / 18.74 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.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 71.89 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3887, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003042/0.3918, allocations: 1.73 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3934, allocations: 1.022 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.3935, allocations: 5.312 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3938, allocations: 40.16 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3941, allocations: 99.09 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3943, allocations: 80.28 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.3945, allocations: 104.9 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3947, allocations: 6.875 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.3947, allocations: 42.91 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.3948, allocations: 34.78 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3949, allocations: 4.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.395, allocations: 47.42 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.395, allocations: 26.78 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.3951, allocations: 33.38 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3953, allocations: 122.6 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3953, allocations: 1.375 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3953, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3953, allocations: 0 / 0.5344 GB, free: 11.03 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.0005727/0.3959, allocations: 426.2 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.396, allocations: 9.469 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.396, allocations: 22.19 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3963, allocations: 220.4 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3964, allocations: 1.812 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3964, allocations: 6.312 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3966, allocations: 53.86 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3966, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3966, allocations: 0.9375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3966, allocations: 0.8438 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.3967, allocations: 22.8 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3971, allocations: 299.1 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3973, allocations: 58.27 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.3974, allocations: 21.42 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3974, allocations: 1.156 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3976, allocations: 77.91 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3976, allocations: 3.938 kB / 0.5356 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006229/0.3983, allocations: 170.7 kB / 0.5357 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3983, allocations: 52.5 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3986, allocations: 215.7 kB / 0.536 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3986, allocations: 30.77 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3987, allocations: 101.8 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.3988, allocations: 23.92 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3988, allocations: 28.36 kB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.399, allocations: 326.2 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.3991, allocations: 19.41 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.068e-05/0.3992, allocations: 35.3 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3993, allocations: 58.33 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3993, allocations: 5.188 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3995, allocations: 99.03 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3995, allocations: 12.64 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3996, allocations: 0 / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.3996, allocations: 1.188 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3997, allocations: 16.69 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3997, allocations: 1.219 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.3998, allocations: 10.48 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3998, allocations: 2.781 kB / 0.5367 GB, free: 8.844 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.0001268/0.3999, allocations: 128 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4, allocations: 18.08 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.4, allocations: 18.39 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4, allocations: 1.125 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4, allocations: 1.031 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4001, allocations: 3.938 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.4005, allocations: 399.8 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4006, allocations: 0 / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.4006, allocations: 12.62 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4006, allocations: 0 / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4006, allocations: 7.031 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4006, allocations: 384 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4006, allocations: 5.156 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.4009, allocations: 217 kB / 0.5375 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.401, allocations: 91.64 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.401, allocations: 5.375 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.4011, allocations: 2.656 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4011, allocations: 7.859 kB / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4012, allocations: 6.531 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.4013, allocations: 159 kB / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 0 / 0.5377 GB, free: 7.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4016, allocations: 26.38 kB / 0.5378 GB, free: 7.863 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.001109/0.4027, allocations: 466.8 kB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.4029, allocations: 54.45 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4029, allocations: 64 / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.403, allocations: 37.58 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4034, allocations: 31.5 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.404, allocations: 238.2 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4044, allocations: 0.7064 MB / 0.5393 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.4045, allocations: 14.05 kB / 0.5393 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.4045, allocations: 19.45 kB / 0.5393 GB, free: 6.652 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4045, allocations: 1.094 kB / 0.5393 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Templates: time 0.005871/0.4104, allocations: 1.744 MB / 0.541 GB, free: 5.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches