Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 121.7 kB / 17.79 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.001772/0.001772, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, 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.2551/0.2551, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.89 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3859, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003322/0.3893, allocations: 1.738 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3909, allocations: 1.034 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.391, allocations: 4.938 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.3914, allocations: 104.1 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3917, allocations: 127.7 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.3919, allocations: 84.62 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3922, allocations: 124.2 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3923, allocations: 11.02 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3924, allocations: 56.73 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3925, allocations: 63.5 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3926, allocations: 4.438 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3927, allocations: 67.06 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.3928, allocations: 28.86 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.3929, allocations: 49.5 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3931, allocations: 144.6 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3932, allocations: 0 / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3932, allocations: 0.875 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3932, allocations: 0 / 0.5346 GB, free: 10.92 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.0006461/0.3938, allocations: 445.9 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3939, allocations: 9.625 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3939, allocations: 19.62 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3942, allocations: 222.9 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3943, allocations: 5.75 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3943, allocations: 6.875 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3945, allocations: 56.8 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3945, allocations: 0 / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3945, allocations: 1.375 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3945, allocations: 0 / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.3946, allocations: 28.34 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.395, allocations: 318.8 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3953, allocations: 65.83 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.3954, allocations: 17.95 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3954, allocations: 5.078 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.3956, allocations: 75.14 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3956, allocations: 0 / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008271/0.3964, allocations: 244 kB / 0.5361 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.3965, allocations: 64.58 kB / 0.5361 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3967, allocations: 247.4 kB / 0.5364 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3968, allocations: 31.11 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.3969, allocations: 110.8 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3969, allocations: 40.67 kB / 0.5366 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.397, allocations: 31.42 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3971, allocations: 326.7 kB / 0.5369 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.3972, allocations: 26.61 kB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.3972, allocations: 44.61 kB / 0.537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3974, allocations: 80.89 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3974, allocations: 4 kB / 0.537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002252/0.3976, allocations: 135.1 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3976, allocations: 5.375 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3977, allocations: 3.938 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3977, allocations: 1.031 kB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.3978, allocations: 22.25 kB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3978, allocations: 9.141 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.3978, allocations: 1.375 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3978, allocations: 3.75 kB / 0.5372 GB, free: 8.594 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 (13): * Single equations (assignments): 13 * 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.0001001/0.3979, allocations: 135.8 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.398, allocations: 20.12 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.398, allocations: 20.98 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.398, allocations: 0.9375 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3981, allocations: 8.656 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3981, allocations: 0 / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.3986, allocations: 456.4 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3986, allocations: 1.188 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.3987, allocations: 15.47 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3987, allocations: 1.125 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3987, allocations: 10.42 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3987, allocations: 2.375 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3987, allocations: 3.938 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.399, allocations: 239.2 kB / 0.5381 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.3991, allocations: 89.23 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3991, allocations: 10.12 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3992, allocations: 6.125 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3992, allocations: 8.828 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3992, allocations: 4.062 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.3994, allocations: 189.3 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 5.156 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3997, allocations: 29.28 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001223/0.4009, allocations: 0.4977 MB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4011, allocations: 82.28 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4012, allocations: 0 / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.4012, allocations: 43.3 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.4016, allocations: 41.91 kB / 0.5391 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.4022, allocations: 300 kB / 0.5394 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4025, allocations: 0.722 MB / 0.5401 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.4025, allocations: 24.16 kB / 0.5401 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.4026, allocations: 17.66 kB / 0.5401 GB, free: 6.258 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4026, allocations: 0 / 0.5401 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Templates: time 0.004759/0.4074, allocations: 2.054 MB / 0.5421 GB, free: 5.211 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches