Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 117.8 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3933, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003093/0.3964, allocations: 1.738 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3981, allocations: 1.022 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.3982, allocations: 1.375 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3985, allocations: 40.14 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.3988, allocations: 104.4 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.399, allocations: 78.92 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3992, allocations: 106.3 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3993, allocations: 6.875 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.3994, allocations: 48.28 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.3995, allocations: 33.41 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3995, allocations: 4.125 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3996, allocations: 39.48 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.3997, allocations: 24.17 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.3997, allocations: 35.94 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.4, allocations: 129.4 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4, allocations: 3.938 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4, allocations: 0 / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4, allocations: 0 / 0.5351 GB, free: 11.27 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.0005662/0.4006, allocations: 418.9 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4006, allocations: 8.812 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.4007, allocations: 15.16 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.401, allocations: 220.2 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.401, allocations: 9.359 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.401, allocations: 6.312 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4012, allocations: 54.02 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.4012, allocations: 1.312 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4012, allocations: 0 / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4012, allocations: 1.156 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.4013, allocations: 18.45 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.4017, allocations: 292 kB / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.4019, allocations: 57.52 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.402, allocations: 21.03 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.402, allocations: 5.078 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4021, allocations: 69.55 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.4022, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.4027, allocations: 186.6 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4028, allocations: 52.53 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.403, allocations: 204.4 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.403, allocations: 26.83 kB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.4031, allocations: 105.8 kB / 0.5368 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.4031, allocations: 23.06 kB / 0.5368 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.4032, allocations: 28.52 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4033, allocations: 330.2 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.4034, allocations: 22.89 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.4034, allocations: 35.45 kB / 0.5372 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4036, allocations: 56.22 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4036, allocations: 0 / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.4038, allocations: 111.9 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4038, allocations: 4.969 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4038, allocations: 5.438 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4038, allocations: 1.25 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.4039, allocations: 16.09 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4039, allocations: 5.141 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.404, allocations: 9.969 kB / 0.5374 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.404, allocations: 3.25 kB / 0.5374 GB, free: 9.094 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.0001086/0.4041, allocations: 135.9 kB / 0.5375 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4041, allocations: 10.59 kB / 0.5375 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.4042, allocations: 14.44 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4042, allocations: 1.094 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4042, allocations: 0 / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4042, allocations: 5 kB / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.4047, allocations: 403.8 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4047, allocations: 0 / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.4047, allocations: 12.69 kB / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4047, allocations: 0 / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4048, allocations: 5.375 kB / 0.5379 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4048, allocations: 5.453 kB / 0.5379 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4048, allocations: 1.25 kB / 0.5379 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.405, allocations: 204.9 kB / 0.5381 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.4051, allocations: 87.55 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4051, allocations: 13.34 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.4052, allocations: 2.688 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4052, allocations: 6.672 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4053, allocations: 3.844 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4054, allocations: 162.9 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4054, allocations: 0 / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.4057, allocations: 20.77 kB / 0.5384 GB, free: 8.125 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.001079/0.4068, allocations: 460.8 kB / 0.5389 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.407, allocations: 53.17 kB / 0.5389 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.407, allocations: 1.219 kB / 0.5389 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.4071, allocations: 36.7 kB / 0.539 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4074, allocations: 39.95 kB / 0.539 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.4079, allocations: 269.4 kB / 0.5392 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.4082, allocations: 0.7074 MB / 0.5399 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.4083, allocations: 15.34 kB / 0.54 GB, free: 6.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4083, allocations: 4 kB / 0.54 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Templates: time 0.003967/0.4123, allocations: 2.002 MB / 0.5419 GB, free: 5.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches