Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 111 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 207.9 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.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.412, allocations: 62.43 MB / 0.5318 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00326/0.4153, allocations: 1.925 MB / 0.5336 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.4174, allocations: 1.125 MB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.4175, allocations: 6.312 kB / 0.5347 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.4181, allocations: 250.5 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.4186, allocations: 234.5 kB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.4189, allocations: 115.2 kB / 0.5353 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.4192, allocations: 273 kB / 0.5356 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4194, allocations: 28.8 kB / 0.5356 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4196, allocations: 140 kB / 0.5357 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.4198, allocations: 192.5 kB / 0.5359 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.4198, allocations: 8.594 kB / 0.5359 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.42, allocations: 62.61 kB / 0.536 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.4201, allocations: 68.47 kB / 0.5361 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4202, allocations: 91.67 kB / 0.5361 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.4205, allocations: 254.3 kB / 0.5364 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4206, allocations: 0 / 0.5364 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4206, allocations: 0 / 0.5364 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4206, allocations: 0 / 0.5364 GB, free: 10.46 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007681/0.4214, allocations: 0.5895 MB / 0.537 GB, free: 9.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4214, allocations: 9.562 kB / 0.537 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.4215, allocations: 30.44 kB / 0.537 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.4219, allocations: 295.4 kB / 0.5373 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.4219, allocations: 12.08 kB / 0.5373 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.4219, allocations: 17.36 kB / 0.5373 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4222, allocations: 107.6 kB / 0.5374 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4222, allocations: 3.906 kB / 0.5374 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4223, allocations: 4.984 kB / 0.5374 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4223, allocations: 2.344 kB / 0.5374 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.4224, allocations: 45.34 kB / 0.5375 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.423, allocations: 485.8 kB / 0.5379 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.4234, allocations: 130.4 kB / 0.5381 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4235, allocations: 45 kB / 0.5381 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.4236, allocations: 2.688 kB / 0.5381 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.4238, allocations: 122.4 kB / 0.5382 GB, free: 8.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.4238, allocations: 0 / 0.5382 GB, free: 8.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00134/0.4252, allocations: 0.5092 MB / 0.5387 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4252, allocations: 84.02 kB / 0.5388 GB, free: 8.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.4258, allocations: 0.4885 MB / 0.5393 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4258, allocations: 27.98 kB / 0.5393 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4259, allocations: 165.2 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.426, allocations: 77.61 kB / 0.5395 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.4261, allocations: 46.11 kB / 0.5396 GB, free: 7.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4262, allocations: 350 kB / 0.5399 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4263, allocations: 48.7 kB / 0.54 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4265, allocations: 104 kB / 0.54 GB, free: 7.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4268, allocations: 156.3 kB / 0.5402 GB, free: 7.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4268, allocations: 0 / 0.5402 GB, free: 7.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004259/0.4272, allocations: 239.7 kB / 0.5404 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4273, allocations: 9.781 kB / 0.5404 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4273, allocations: 1.062 kB / 0.5404 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4273, allocations: 2.594 kB / 0.5404 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4275, allocations: 50.2 kB / 0.5405 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4275, allocations: 2.312 kB / 0.5405 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4276, allocations: 15.45 kB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.4276, allocations: 7.281 kB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001857/0.4278, allocations: 177.8 kB / 0.5407 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.4279, allocations: 35.47 kB / 0.5407 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.428, allocations: 45.38 kB / 0.5408 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.428, allocations: 0 / 0.5408 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.428, allocations: 1.188 kB / 0.5408 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.4281, allocations: 100.1 kB / 0.5409 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.4281, allocations: 6.781 kB / 0.5409 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.4282, allocations: 16.02 kB / 0.5409 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.4283, allocations: 12.23 kB / 0.5409 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005515/0.4289, allocations: 383.7 kB / 0.5413 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005308/0.4294, allocations: 484.2 kB / 0.5417 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.4296, allocations: 77.14 kB / 0.5418 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.43, allocations: 381.3 kB / 0.5422 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.43, allocations: 4 kB / 0.5422 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.4319, allocations: 0.6214 MB / 0.5428 GB, free: 5.637 MB / 398.1 MB Notification: Performance of SimCode: time 0.001322/0.4332, allocations: 0.9758 MB / 0.5437 GB, free: 4.824 MB / 398.1 MB Notification: Performance of Templates: time 0.008973/0.4422, allocations: 3.317 MB / 0.547 GB, free: 2.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches