Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.00216, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2697/0.2697, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 80.09 kB / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4093, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003519/0.4129, allocations: 1.749 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.4149, allocations: 1.023 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.415, allocations: 1.094 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.4154, allocations: 92.34 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.4159, allocations: 115.4 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.4161, allocations: 78.92 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.4163, allocations: 122.5 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.4165, allocations: 12.25 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.4166, allocations: 67.06 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4168, allocations: 51.33 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.4168, allocations: 8.109 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.4169, allocations: 58.48 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.417, allocations: 29.48 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.4171, allocations: 39.92 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.4174, allocations: 142.2 kB / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4174, allocations: 0 / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4174, allocations: 0 / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4174, allocations: 3.984 kB / 0.5346 GB, free: 10.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007453/0.4182, allocations: 436 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.4182, allocations: 8.688 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.4183, allocations: 18.75 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4187, allocations: 213.8 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4187, allocations: 2.625 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.4187, allocations: 10.16 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.4189, allocations: 64.84 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.419, allocations: 0 / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.419, allocations: 1.125 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.419, allocations: 5.031 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.4191, allocations: 20.8 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4196, allocations: 296.7 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4199, allocations: 64.7 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.42, allocations: 18.92 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.4201, allocations: 9.047 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.4203, allocations: 75.28 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4203, allocations: 0 / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008813/0.4212, allocations: 246.4 kB / 0.536 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4212, allocations: 56.69 kB / 0.5361 GB, free: 9.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.4215, allocations: 226.4 kB / 0.5363 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4216, allocations: 30.73 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.4216, allocations: 109.8 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.4217, allocations: 37.16 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4217, allocations: 30.34 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4219, allocations: 327.3 kB / 0.5368 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.422, allocations: 30.86 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.422e-05/0.4221, allocations: 46.8 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4223, allocations: 81.23 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4223, allocations: 0 / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002601/0.4225, allocations: 121.5 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4226, allocations: 5.875 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4226, allocations: 0 / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4226, allocations: 5.141 kB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.4227, allocations: 21.34 kB / 0.5371 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4227, allocations: 12.94 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.4228, allocations: 10.48 kB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.4228, allocations: 7.812 kB / 0.5371 GB, free: 8.66 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 (13): * Single equations (assignments): 13 * 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.0001365/0.423, allocations: 131.3 kB / 0.5372 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.423, allocations: 14.19 kB / 0.5373 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.4231, allocations: 23.86 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4231, allocations: 1.812 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.4231, allocations: 3.938 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4231, allocations: 1.906 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.4238, allocations: 452.7 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4238, allocations: 1.156 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.4239, allocations: 15.45 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4239, allocations: 1.25 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4239, allocations: 6.75 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4239, allocations: 1.281 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4239, allocations: 5.25 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.4243, allocations: 233.9 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.4243, allocations: 88.7 kB / 0.5381 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4244, allocations: 2.625 kB / 0.5381 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.4245, allocations: 7.125 kB / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.4245, allocations: 8.641 kB / 0.5381 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4246, allocations: 8.344 kB / 0.5381 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.4248, allocations: 164 kB / 0.5382 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.936e-06/0.4248, allocations: 0 / 0.5382 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.4251, allocations: 36.83 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001395/0.4265, allocations: 0.5025 MB / 0.5388 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4268, allocations: 82.09 kB / 0.5388 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4268, allocations: 4.062 kB / 0.5388 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4269, allocations: 39.05 kB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4273, allocations: 41.5 kB / 0.5389 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.428, allocations: 269.1 kB / 0.5392 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.4284, allocations: 0.7197 MB / 0.5399 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.128e-05/0.4285, allocations: 19.97 kB / 0.5399 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.4285, allocations: 25.11 kB / 0.5399 GB, free: 6.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4285, allocations: 0 / 0.5399 GB, free: 6.348 MB / 398.1 MB Notification: Performance of Templates: time 0.006487/0.435, allocations: 2 MB / 0.5419 GB, free: 5.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches