Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 117.7 kB / 17.78 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.001404/0.001404, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2532/0.2532, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 76.42 kB / 481.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4191, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003364/0.4225, allocations: 1.916 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.4246, allocations: 1.118 MB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.4248, allocations: 6.688 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.4252, allocations: 163 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.4257, allocations: 181.2 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.426, allocations: 116.5 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.4264, allocations: 242.5 kB / 0.5347 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.4265, allocations: 32.53 kB / 0.5348 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.4267, allocations: 119.2 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4269, allocations: 123.2 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4269, allocations: 12.94 kB / 0.535 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.4271, allocations: 74.8 kB / 0.5351 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.4272, allocations: 49.81 kB / 0.5351 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.4273, allocations: 85.69 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.4277, allocations: 223.6 kB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.373e-05/0.4277, allocations: 1.312 kB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4277, allocations: 0 / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4277, allocations: 0 / 0.5354 GB, free: 10.36 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.0008119/0.4285, allocations: 0.5374 MB / 0.5359 GB, free: 9.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4286, allocations: 13.44 kB / 0.536 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.4287, allocations: 24.34 kB / 0.536 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.4291, allocations: 283.9 kB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4291, allocations: 7.781 kB / 0.5363 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.4291, allocations: 12.75 kB / 0.5363 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.4294, allocations: 113.1 kB / 0.5364 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4294, allocations: 1.344 kB / 0.5364 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4294, allocations: 5.312 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4295, allocations: 1.219 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.4296, allocations: 52.92 kB / 0.5364 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.4302, allocations: 463.1 kB / 0.5369 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.4306, allocations: 121.7 kB / 0.537 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4307, allocations: 48.47 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.4307, allocations: 2.688 kB / 0.537 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.431, allocations: 128.9 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.431, allocations: 0 / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.4323, allocations: 498 kB / 0.5376 GB, free: 8.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4324, allocations: 80.52 kB / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.4328, allocations: 372.9 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.4328, allocations: 31.98 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4329, allocations: 148.9 kB / 0.5382 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.433, allocations: 69.03 kB / 0.5383 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.433, allocations: 37.62 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4332, allocations: 343.4 kB / 0.5387 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4333, allocations: 61.31 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4335, allocations: 95.47 kB / 0.5388 GB, free: 7.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.4338, allocations: 161.8 kB / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4338, allocations: 0 / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003914/0.4342, allocations: 229.6 kB / 0.5392 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4342, allocations: 8.844 kB / 0.5392 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4342, allocations: 5.5 kB / 0.5392 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4342, allocations: 5.406 kB / 0.5392 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4344, allocations: 47.45 kB / 0.5393 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4344, allocations: 5.578 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.4345, allocations: 8.469 kB / 0.5393 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4345, allocations: 11.25 kB / 0.5393 GB, free: 7.199 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.0001532/0.4346, allocations: 161.4 kB / 0.5394 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.4347, allocations: 33.5 kB / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.4348, allocations: 36.3 kB / 0.5395 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4348, allocations: 10.8 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4348, allocations: 1.406 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4348, allocations: 0 / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.4358, allocations: 0.7179 MB / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4358, allocations: 10.52 kB / 0.5402 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.4359, allocations: 27.12 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4359, allocations: 2.281 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4359, allocations: 8.578 kB / 0.5403 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.4359, allocations: 2.5 kB / 0.5403 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4359, allocations: 5.156 kB / 0.5403 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.4364, allocations: 421.9 kB / 0.5407 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.4365, allocations: 100.5 kB / 0.5408 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.4365, allocations: 8.312 kB / 0.5408 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4367, allocations: 8.484 kB / 0.5408 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.4367, allocations: 24.86 kB / 0.5408 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.4368, allocations: 12.97 kB / 0.5408 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.4371, allocations: 278.6 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4371, allocations: 1.219 kB / 0.5411 GB, free: 5.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000373/0.4375, allocations: 48 kB / 0.5411 GB, free: 5.73 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.00125/0.4387, allocations: 0.5155 MB / 0.5416 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.4391, allocations: 162.5 kB / 0.5418 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4391, allocations: 1.188 kB / 0.5418 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.4393, allocations: 78.5 kB / 0.5419 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.4399, allocations: 62.31 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.4409, allocations: 0.5005 MB / 0.5424 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.4414, allocations: 0.7596 MB / 0.5432 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4415, allocations: 36.22 kB / 0.5432 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.4416, allocations: 31.52 kB / 0.5432 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4416, allocations: 0 / 0.5432 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Templates: time 0.007528/0.4491, allocations: 3.22 MB / 0.5464 GB, free: 1.766 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches