Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, 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.002128/0.002128, allocations: 199.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.685/1.685, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 71.89 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3841, allocations: 62.43 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003848/0.388, allocations: 1.73 MB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3901, allocations: 1.021 MB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3903, allocations: 1.375 kB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.3907, allocations: 85.83 kB / 0.5338 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.3912, allocations: 111.2 kB / 0.534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.3915, allocations: 82.91 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3918, allocations: 117.2 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3919, allocations: 10.56 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3921, allocations: 53.89 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3922, allocations: 64.2 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3922, allocations: 3.312 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3923, allocations: 44.11 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.3924, allocations: 23.94 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3925, allocations: 44.81 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3927, allocations: 122.5 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3927, allocations: 0 / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3928, allocations: 0 / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3928, allocations: 0 / 0.5345 GB, free: 11.21 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.0006276/0.3934, allocations: 427.9 kB / 0.5349 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3934, allocations: 9.625 kB / 0.5349 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.3935, allocations: 22.17 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.3938, allocations: 216.5 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3939, allocations: 1.75 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3939, allocations: 6.875 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3941, allocations: 54.05 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3941, allocations: 3.938 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3941, allocations: 1.375 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3941, allocations: 4 kB / 0.5352 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.3942, allocations: 18.98 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3946, allocations: 288.3 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3948, allocations: 61.86 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.3949, allocations: 18.48 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3949, allocations: 9.359 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3951, allocations: 68.14 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3951, allocations: 3.938 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.3956, allocations: 175.6 kB / 0.5358 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3957, allocations: 56.83 kB / 0.5359 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3959, allocations: 217.1 kB / 0.5361 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3959, allocations: 30.83 kB / 0.5361 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.396, allocations: 114.6 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3961, allocations: 19.02 kB / 0.5362 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3961, allocations: 25.25 kB / 0.5363 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3962, allocations: 326 kB / 0.5366 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.3963, allocations: 23.73 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.3964, allocations: 39.58 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3965, allocations: 66.48 kB / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3965, allocations: 0 / 0.5367 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.3967, allocations: 101 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3967, allocations: 5.188 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3967, allocations: 0 / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3968, allocations: 1.25 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.3969, allocations: 17.7 kB / 0.5368 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3969, allocations: 1.125 kB / 0.5368 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3969, allocations: 9.844 kB / 0.5368 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3969, allocations: 10.72 kB / 0.5368 GB, free: 9.016 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.0001058/0.3971, allocations: 124.6 kB / 0.537 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3971, allocations: 14.5 kB / 0.537 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.3971, allocations: 23.8 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3971, allocations: 0 / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3972, allocations: 1.125 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3972, allocations: 3.938 kB / 0.537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.3976, allocations: 400.8 kB / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3976, allocations: 0 / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.3977, allocations: 11.92 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3977, allocations: 1.094 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3977, allocations: 6.125 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3977, allocations: 0 / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3977, allocations: 1.094 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.398, allocations: 205.4 kB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.398, allocations: 92.34 kB / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.398, allocations: 10.64 kB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3981, allocations: 13.59 kB / 0.5377 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.3982, allocations: 7 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3982, allocations: 7.766 kB / 0.5377 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3983, allocations: 164.2 kB / 0.5379 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3983, allocations: 5.25 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3986, allocations: 25.06 kB / 0.5379 GB, free: 8.035 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.001034/0.3996, allocations: 456 kB / 0.5383 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.3998, allocations: 61.55 kB / 0.5384 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3998, allocations: 0 / 0.5384 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.3999, allocations: 29.45 kB / 0.5384 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4003, allocations: 35.78 kB / 0.5385 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.4008, allocations: 255.9 kB / 0.5387 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4011, allocations: 0.7121 MB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.4011, allocations: 13.94 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.4012, allocations: 19.12 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4012, allocations: 0 / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004663/0.4058, allocations: 1.77 MB / 0.5412 GB, free: 5.922 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches