Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 75.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3815, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002794/0.3844, allocations: 1.735 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3866, allocations: 1.617 MB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.3867, allocations: 1.375 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.387, allocations: 40.02 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3873, allocations: 104.3 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.3875, allocations: 86.84 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3877, allocations: 94.39 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.3878, allocations: 22.84 kB / 0.5354 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.3879, allocations: 45.66 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3881, allocations: 46.84 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3881, allocations: 5.5 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3883, allocations: 111 kB / 0.5356 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.3883, allocations: 20.05 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.3884, allocations: 35.98 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3887, allocations: 167.1 kB / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3887, allocations: 4 kB / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3887, allocations: 0 / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3887, allocations: 1.094 kB / 0.5358 GB, free: 10.51 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.0005573/0.3892, allocations: 427.5 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3893, allocations: 9.594 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.3894, allocations: 9.094 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3896, allocations: 211.8 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3897, allocations: 5.062 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3897, allocations: 11.2 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3899, allocations: 73.16 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3899, allocations: 1 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3899, allocations: 0 / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3899, allocations: 1.156 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.39, allocations: 18.8 kB / 0.5365 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3903, allocations: 285.3 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3905, allocations: 61.73 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3906, allocations: 22.09 kB / 0.5369 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3906, allocations: 1.031 kB / 0.5369 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3908, allocations: 73.61 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3908, allocations: 4 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.3913, allocations: 168.4 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3914, allocations: 87.3 kB / 0.5372 GB, free: 9.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3915, allocations: 162.8 kB / 0.5373 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3916, allocations: 30.8 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.3916, allocations: 100.4 kB / 0.5375 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3917, allocations: 23.05 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3917, allocations: 21.22 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3918, allocations: 326.1 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.3919, allocations: 22.27 kB / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.392, allocations: 45.25 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3921, allocations: 63.45 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3921, allocations: 0 / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3923, allocations: 99.33 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3923, allocations: 6.375 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3923, allocations: 0 / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3923, allocations: 1.375 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.3924, allocations: 20.61 kB / 0.5381 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3925, allocations: 5 kB / 0.5381 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.3925, allocations: 6.344 kB / 0.5381 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3925, allocations: 3.469 kB / 0.5381 GB, free: 8.301 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.0001118/0.3926, allocations: 119.6 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3927, allocations: 17.47 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3927, allocations: 12.72 kB / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3927, allocations: 0 / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3927, allocations: 0 / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3928, allocations: 95.59 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3928, allocations: 1.25 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.3929, allocations: 2.125 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3929, allocations: 7.328 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002284/0.3932, allocations: 177.2 kB / 0.5385 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002724/0.3935, allocations: 278.1 kB / 0.5387 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.695e-05/0.3935, allocations: 28.94 kB / 0.5388 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3936, allocations: 128.5 kB / 0.5389 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Backend: time 2.8e-07/0.3937, allocations: 0 / 0.5389 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.3953, allocations: 0.562 MB / 0.5394 GB, free: 7.273 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006562/0.3959, allocations: 0.652 MB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of Templates: time 0.005512/0.4014, allocations: 2.405 MB / 0.5424 GB, free: 5.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches