Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 207.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3994, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004401/0.4038, allocations: 2.365 MB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.4074, allocations: 1.395 MB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.4076, allocations: 3.594 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007017/0.4083, allocations: 297.5 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.4091, allocations: 342 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.4095, allocations: 209.5 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.4102, allocations: 0.5633 MB / 0.5361 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.4104, allocations: 53.23 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.4107, allocations: 247.9 kB / 0.5364 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.4111, allocations: 275.2 kB / 0.5366 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.4111, allocations: 18.41 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.4113, allocations: 55.11 kB / 0.5367 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4114, allocations: 109.2 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.4117, allocations: 188.6 kB / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.4122, allocations: 421.9 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4122, allocations: 0 / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4122, allocations: 0 / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4122, allocations: 0 / 0.5374 GB, free: 8.934 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001352/0.4136, allocations: 0.7945 MB / 0.5382 GB, free: 8.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4137, allocations: 10.22 kB / 0.5382 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4138, allocations: 60.58 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.4146, allocations: 430.2 kB / 0.5387 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4146, allocations: 14.08 kB / 0.5387 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4147, allocations: 22.56 kB / 0.5387 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.4151, allocations: 202.5 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4152, allocations: 1.125 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.4152, allocations: 5.969 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4152, allocations: 4.094 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.4155, allocations: 100.3 kB / 0.539 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4166, allocations: 0.8658 MB / 0.5398 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.4173, allocations: 287.9 kB / 0.5401 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.4175, allocations: 98.28 kB / 0.5402 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.4176, allocations: 8.281 kB / 0.5402 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.418, allocations: 218.3 kB / 0.5404 GB, free: 6.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.418, allocations: 0 / 0.5404 GB, free: 6.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002087/0.4201, allocations: 1.015 MB / 0.5414 GB, free: 5.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.4202, allocations: 159.2 kB / 0.5416 GB, free: 5.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.4211, allocations: 0.6595 MB / 0.5422 GB, free: 5.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.4211, allocations: 38.3 kB / 0.5422 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4213, allocations: 235.5 kB / 0.5425 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4215, allocations: 120.8 kB / 0.5426 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.4216, allocations: 78.38 kB / 0.5427 GB, free: 4.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4218, allocations: 371.1 kB / 0.543 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.4221, allocations: 98.77 kB / 0.5431 GB, free: 4.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.4224, allocations: 184.1 kB / 0.5433 GB, free: 4.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.4229, allocations: 297.8 kB / 0.5436 GB, free: 4.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4229, allocations: 5.188 kB / 0.5436 GB, free: 4.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007306/0.4237, allocations: 413.6 kB / 0.544 GB, free: 3.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4237, allocations: 5.281 kB / 0.544 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4237, allocations: 3 kB / 0.544 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4237, allocations: 10.94 kB / 0.544 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.424, allocations: 80.11 kB / 0.5441 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4241, allocations: 4.312 kB / 0.5441 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4243, allocations: 21.2 kB / 0.5441 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4243, allocations: 16.69 kB / 0.5441 GB, free: 3.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002404/0.4246, allocations: 212.8 kB / 0.5443 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.4247, allocations: 63 kB / 0.5444 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.4248, allocations: 71.47 kB / 0.5444 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4248, allocations: 5.625 kB / 0.5444 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.4248, allocations: 2.25 kB / 0.5444 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4249, allocations: 4.922 kB / 0.5444 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.4264, allocations: 1.289 MB / 0.5457 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4264, allocations: 4 kB / 0.5457 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4266, allocations: 47.92 kB / 0.5458 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4266, allocations: 4 kB / 0.5458 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.4266, allocations: 23.92 kB / 0.5458 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4266, allocations: 4 kB / 0.5458 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4266, allocations: 4 kB / 0.5458 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.4275, allocations: 0.8202 MB / 0.5466 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.4276, allocations: 124.4 kB / 0.5467 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.167e-05/0.4277, allocations: 15.94 kB / 0.5467 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.428, allocations: 19.98 kB / 0.5467 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.4281, allocations: 39.89 kB / 0.5468 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.4281, allocations: 20 kB / 0.5468 GB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005632/0.4287, allocations: 490.8 kB / 0.5473 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4287, allocations: 0 / 0.5473 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005617/0.4293, allocations: 84 kB / 0.5473 GB, free: 452 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001082/0.4304, allocations: 472.8 kB / 0.5478 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.431, allocations: 291.6 kB / 0.5481 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.431, allocations: 0 / 0.5481 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.4313, allocations: 153.2 kB / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4324, allocations: 162.1 kB / 0.5484 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.4339, allocations: 0.9002 MB / 0.5493 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.4343, allocations: 0.8629 MB / 0.5501 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.4346, allocations: 84.11 kB / 0.5502 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4347, allocations: 51.42 kB / 0.5502 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4347, allocations: 0 / 0.5502 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.01115/0.4459, allocations: 5.789 MB / 0.5559 GB, free: 7.836 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches