Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, 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.2335/0.2335, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 84.09 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3779, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002952/0.3809, allocations: 1.753 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3826, allocations: 1.017 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.3827, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.383, allocations: 115.7 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.3834, allocations: 128.9 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3836, allocations: 74.92 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3839, allocations: 132.1 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.384, allocations: 16.25 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3841, allocations: 64.91 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3843, allocations: 70.23 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3843, allocations: 4.312 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3844, allocations: 64.33 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.3845, allocations: 34.38 kB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.3846, allocations: 46.08 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.385, allocations: 155.2 kB / 0.5347 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.385, allocations: 1.188 kB / 0.5347 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.385, allocations: 0 / 0.5347 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3851, allocations: 4 kB / 0.5347 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001049/0.3861, allocations: 456.5 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3862, allocations: 9.125 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.3863, allocations: 15.81 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.3867, allocations: 225.9 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3868, allocations: 2.812 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.3868, allocations: 14.45 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.387, allocations: 67.05 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3871, allocations: 5.078 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3871, allocations: 1.219 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3871, allocations: 3.938 kB / 0.5354 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3872, allocations: 33.97 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3878, allocations: 319.8 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.3881, allocations: 71.52 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3882, allocations: 32.81 kB / 0.5359 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.3882, allocations: 2.125 kB / 0.5359 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3884, allocations: 76.34 kB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3884, allocations: 0 / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008596/0.3893, allocations: 276.7 kB / 0.5362 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3894, allocations: 64.25 kB / 0.5363 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3896, allocations: 254.6 kB / 0.5365 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3896, allocations: 31.92 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3897, allocations: 111.8 kB / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3898, allocations: 36.58 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.3898, allocations: 27.56 kB / 0.5367 GB, free: 9.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3899, allocations: 335.3 kB / 0.537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.39, allocations: 34.08 kB / 0.5371 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.3901, allocations: 49.58 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.3903, allocations: 89.53 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3903, allocations: 1.062 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002995/0.3906, allocations: 141.9 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3906, allocations: 5.969 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3906, allocations: 3.938 kB / 0.5373 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3906, allocations: 5.312 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3908, allocations: 26.83 kB / 0.5374 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.3908, allocations: 5.094 kB / 0.5374 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.3908, allocations: 2.031 kB / 0.5374 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3909, allocations: 8.625 kB / 0.5374 GB, free: 8.527 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 (14): * Single equations (assignments): 14 * 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.0001313/0.391, allocations: 132.9 kB / 0.5375 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.391, allocations: 19.83 kB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.3911, allocations: 21.41 kB / 0.5376 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3911, allocations: 2.188 kB / 0.5376 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3911, allocations: 7.938 kB / 0.5376 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3911, allocations: 3.984 kB / 0.5376 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.3917, allocations: 479.8 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3917, allocations: 96 / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.3918, allocations: 17.69 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3918, allocations: 1.312 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3918, allocations: 7.031 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3918, allocations: 9.125 kB / 0.5381 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3918, allocations: 5.234 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3921, allocations: 242.6 kB / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.3922, allocations: 93.31 kB / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.3922, allocations: 2.5 kB / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.3923, allocations: 10.16 kB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3924, allocations: 12.77 kB / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3924, allocations: 4.594 kB / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3926, allocations: 197.2 kB / 0.5386 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3926, allocations: 3.938 kB / 0.5386 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3929, allocations: 34.05 kB / 0.5386 GB, free: 7.453 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 (12): * Single equations (assignments): 10 * 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.001152/0.3941, allocations: 0.4938 MB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3943, allocations: 102.5 kB / 0.5392 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3943, allocations: 1.562 kB / 0.5392 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3944, allocations: 45.16 kB / 0.5393 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3948, allocations: 37.94 kB / 0.5393 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.3954, allocations: 312 kB / 0.5396 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3957, allocations: 0.7248 MB / 0.5403 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3958, allocations: 26.64 kB / 0.5403 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.3959, allocations: 22.17 kB / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3959, allocations: 0 / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of Templates: time 0.005426/0.4013, allocations: 2.113 MB / 0.5424 GB, free: 5.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches