Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 79.88 kB / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4071, allocations: 62.45 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003175/0.4103, allocations: 1.726 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.413, allocations: 1.625 MB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.4131, allocations: 1.281 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.4135, allocations: 40.89 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.4139, allocations: 99.84 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.4142, allocations: 74.95 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4144, allocations: 106.7 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4145, allocations: 19.08 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4146, allocations: 44.91 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.4148, allocations: 46.61 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.4148, allocations: 5.594 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.415, allocations: 110.2 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.4151, allocations: 21.5 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.4152, allocations: 36.02 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.4155, allocations: 166.6 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4155, allocations: 0 / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4155, allocations: 0 / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4155, allocations: 1.312 kB / 0.5358 GB, free: 10.52 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.000601/0.4161, allocations: 435.2 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4162, allocations: 9.625 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.4162, allocations: 10.34 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4166, allocations: 219.1 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4166, allocations: 5.312 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4166, allocations: 5.359 kB / 0.5364 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4168, allocations: 70.52 kB / 0.5365 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4168, allocations: 3.938 kB / 0.5365 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4168, allocations: 5.375 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4168, allocations: 1.375 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.4169, allocations: 17.61 kB / 0.5365 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.4173, allocations: 281.5 kB / 0.5368 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.4175, allocations: 66.27 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.4175, allocations: 20.91 kB / 0.5369 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.4176, allocations: 1.406 kB / 0.5369 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.4177, allocations: 65.33 kB / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.4177, allocations: 0 / 0.5369 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.4183, allocations: 169.4 kB / 0.5371 GB, free: 9.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.4184, allocations: 86.48 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4186, allocations: 167 kB / 0.5373 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.4187, allocations: 30.86 kB / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.4187, allocations: 100.3 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.4188, allocations: 27.03 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.4188, allocations: 21.38 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.419, allocations: 321 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.419, allocations: 27.77 kB / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.4191, allocations: 44.88 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4192, allocations: 54.73 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4192, allocations: 1.469 kB / 0.5379 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.4194, allocations: 98.66 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4195, allocations: 4.906 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4195, allocations: 5.188 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4195, allocations: 1.062 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.4196, allocations: 21.64 kB / 0.538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4196, allocations: 3.938 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.4197, allocations: 3.281 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4197, allocations: 6.906 kB / 0.5381 GB, free: 8.312 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.000112/0.4198, allocations: 123.5 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.4199, allocations: 17.97 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.4199, allocations: 11.38 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4199, allocations: 5.188 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4199, allocations: 5.062 kB / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4199, allocations: 0 / 0.5382 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.4204, allocations: 392 kB / 0.5386 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4204, allocations: 1.156 kB / 0.5386 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.4204, allocations: 15.8 kB / 0.5386 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4205, allocations: 1.219 kB / 0.5386 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4205, allocations: 5.438 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4205, allocations: 5.375 kB / 0.5386 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4205, allocations: 0 / 0.5386 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4207, allocations: 196.8 kB / 0.5388 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.4208, allocations: 95.09 kB / 0.5389 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.4208, allocations: 6.062 kB / 0.5389 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.4209, allocations: 6.062 kB / 0.5389 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.421, allocations: 20.2 kB / 0.5389 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.421, allocations: 7.312 kB / 0.5389 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4211, allocations: 126.9 kB / 0.5391 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4211, allocations: 0 / 0.5391 GB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.4215, allocations: 46.14 kB / 0.5391 GB, free: 7.344 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.001338/0.4228, allocations: 0.537 MB / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.423, allocations: 53.86 kB / 0.5397 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.423, allocations: 1.031 kB / 0.5397 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.4231, allocations: 33.03 kB / 0.5397 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4235, allocations: 33.41 kB / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.4239, allocations: 226.4 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4242, allocations: 0.7021 MB / 0.5406 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.4243, allocations: 22.42 kB / 0.5407 GB, free: 6.09 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4243, allocations: 0 / 0.5407 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Templates: time 0.004807/0.4291, allocations: 2.407 MB / 0.543 GB, free: 4.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches