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.001166/0.001166, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2647/0.2647, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4111, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003902/0.415, allocations: 1.928 MB / 0.533 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.4174, allocations: 1.125 MB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.4175, allocations: 2.75 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.4182, allocations: 249.7 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.4188, allocations: 239.2 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.4191, allocations: 119 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.4195, allocations: 272.2 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.4197, allocations: 24.84 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.4199, allocations: 139.5 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.4202, allocations: 182.6 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.4202, allocations: 8.281 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.4204, allocations: 66.86 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.4205, allocations: 65.47 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4206, allocations: 103.2 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.421, allocations: 255.9 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.421, allocations: 0 / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.421, allocations: 1.156 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.4211, allocations: 3.938 kB / 0.5357 GB, free: 10.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001126/0.4222, allocations: 0.5972 MB / 0.5363 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4222, allocations: 8.906 kB / 0.5363 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.4223, allocations: 31.22 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007635/0.4231, allocations: 295.7 kB / 0.5366 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4232, allocations: 11.56 kB / 0.5366 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.4232, allocations: 13.92 kB / 0.5366 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.4235, allocations: 107.6 kB / 0.5367 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.4236, allocations: 0 / 0.5367 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.4236, allocations: 9.078 kB / 0.5368 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4236, allocations: 2.656 kB / 0.5368 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.4238, allocations: 40.38 kB / 0.5368 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.4245, allocations: 497.7 kB / 0.5373 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.425, allocations: 114.7 kB / 0.5374 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4251, allocations: 52.56 kB / 0.5374 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.4251, allocations: 2.219 kB / 0.5374 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.4254, allocations: 124.8 kB / 0.5376 GB, free: 8.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4254, allocations: 0 / 0.5376 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001712/0.4271, allocations: 0.5214 MB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.4272, allocations: 80.39 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.428, allocations: 0.4898 MB / 0.5386 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.428, allocations: 30.8 kB / 0.5386 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4282, allocations: 173.7 kB / 0.5388 GB, free: 7.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.4283, allocations: 77.34 kB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.4284, allocations: 41.42 kB / 0.5389 GB, free: 7.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4286, allocations: 353.6 kB / 0.5393 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.4287, allocations: 54.95 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4289, allocations: 98.8 kB / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4292, allocations: 156.8 kB / 0.5396 GB, free: 7.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4292, allocations: 0 / 0.5396 GB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004567/0.4297, allocations: 240 kB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.4297, allocations: 12.47 kB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4297, allocations: 1.281 kB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4298, allocations: 1.656 kB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4299, allocations: 37.98 kB / 0.5398 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.4299, allocations: 6.219 kB / 0.5398 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.43, allocations: 19.83 kB / 0.5399 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4301, allocations: 6.562 kB / 0.5399 GB, free: 6.879 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.0002048/0.4303, allocations: 169.8 kB / 0.54 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.4304, allocations: 40.42 kB / 0.5401 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.995e-05/0.4305, allocations: 44.84 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4305, allocations: 3 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4305, allocations: 1.125 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4305, allocations: 3.984 kB / 0.5401 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.4316, allocations: 0.744 MB / 0.5408 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4316, allocations: 1.219 kB / 0.5408 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.4317, allocations: 32.05 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4317, allocations: 1.281 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4318, allocations: 12.55 kB / 0.5409 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4318, allocations: 6.438 kB / 0.5409 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4318, allocations: 2.406 kB / 0.5409 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.4323, allocations: 427.4 kB / 0.5413 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.4324, allocations: 110.6 kB / 0.5414 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.4325, allocations: 11.19 kB / 0.5414 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4326, allocations: 8.312 kB / 0.5414 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.4327, allocations: 21.72 kB / 0.5415 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.4327, allocations: 12.03 kB / 0.5415 GB, free: 5.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.4332, allocations: 374.1 kB / 0.5418 GB, free: 5.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4332, allocations: 0 / 0.5418 GB, free: 5.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000378/0.4336, allocations: 57.05 kB / 0.5419 GB, free: 5.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001447/0.435, allocations: 0.5007 MB / 0.5424 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.4355, allocations: 155 kB / 0.5425 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4356, allocations: 1.031 kB / 0.5425 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4358, allocations: 86.98 kB / 0.5426 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.4364, allocations: 73.34 kB / 0.5427 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4374, allocations: 0.6047 MB / 0.5433 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.4379, allocations: 0.7822 MB / 0.544 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.438, allocations: 41.19 kB / 0.5441 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.4381, allocations: 30.14 kB / 0.5441 GB, free: 3.766 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4381, allocations: 1.125 kB / 0.5441 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Templates: time 0.007231/0.4454, allocations: 3.196 MB / 0.5472 GB, free: 0.9102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches