Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 200.6 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.632/1.632, 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.3078/0.3078, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.89 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5926, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003876/0.5965, allocations: 1.736 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.5998, allocations: 1.618 MB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.5999, allocations: 0 / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.6004, allocations: 41.8 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.6009, allocations: 103.3 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.6012, allocations: 71.89 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.6015, allocations: 125.4 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.6017, allocations: 10.77 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.6019, allocations: 45.72 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.6021, allocations: 48.22 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.6022, allocations: 9.641 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.6025, allocations: 111.9 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.6026, allocations: 25.62 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.6027, allocations: 36.77 kB / 0.535 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.6031, allocations: 182.1 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6032, allocations: 0 / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6032, allocations: 1.375 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.6032, allocations: 0 / 0.5351 GB, free: 10.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008448/0.604, allocations: 444.8 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.6041, allocations: 8.25 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.6042, allocations: 10.39 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.6047, allocations: 221.1 kB / 0.5358 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.6047, allocations: 9.75 kB / 0.5358 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.6047, allocations: 6.875 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.605, allocations: 73.25 kB / 0.5359 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.605, allocations: 7.891 kB / 0.5359 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.605, allocations: 4 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.605, allocations: 1.375 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.6051, allocations: 22.86 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.6057, allocations: 305.8 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.606, allocations: 74.11 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.606, allocations: 19.48 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.6061, allocations: 1.438 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.6063, allocations: 80.12 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.6063, allocations: 0 / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007842/0.6071, allocations: 191.8 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.6072, allocations: 78.2 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.6075, allocations: 175 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.6075, allocations: 26.8 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.6076, allocations: 100.7 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.6077, allocations: 32.17 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.6077, allocations: 30.59 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6079, allocations: 330.2 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.608, allocations: 27.67 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.6081, allocations: 43.84 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.6083, allocations: 72.61 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6083, allocations: 32 / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002715/0.6086, allocations: 123.4 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.6086, allocations: 5 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6086, allocations: 0 / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6087, allocations: 5.281 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6088, allocations: 18.42 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6088, allocations: 1.156 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.6089, allocations: 6.25 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.6089, allocations: 3.562 kB / 0.5376 GB, free: 8.184 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 (11): * Single equations (assignments): 11 * 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.0001363/0.609, allocations: 131.8 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.6091, allocations: 17.48 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.6091, allocations: 12.91 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6092, allocations: 1.062 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6092, allocations: 1.125 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6092, allocations: 3.938 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.6098, allocations: 418.8 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6099, allocations: 0 / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.6099, allocations: 21.67 kB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6099, allocations: 0.9375 kB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6099, allocations: 5.875 kB / 0.5382 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.61, allocations: 4.656 kB / 0.5382 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.61, allocations: 0.75 kB / 0.5382 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.6103, allocations: 217.3 kB / 0.5384 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.6104, allocations: 91.98 kB / 0.5385 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.6104, allocations: 5.188 kB / 0.5385 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.6105, allocations: 6.188 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.6106, allocations: 12.58 kB / 0.5385 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.6106, allocations: 3.469 kB / 0.5385 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.6108, allocations: 127.4 kB / 0.5386 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6108, allocations: 0 / 0.5386 GB, free: 7.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000379/0.6112, allocations: 51.17 kB / 0.5387 GB, free: 7.195 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 (9): * Single equations (assignments): 7 * 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.001597/0.6128, allocations: 0.5385 MB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.6131, allocations: 77.06 kB / 0.5393 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6131, allocations: 0 / 0.5393 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6132, allocations: 35.83 kB / 0.5393 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.6136, allocations: 34.05 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.6142, allocations: 215.1 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.6146, allocations: 0.7003 MB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.6146, allocations: 29.66 kB / 0.5402 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.6147, allocations: 26.14 kB / 0.5403 GB, free: 5.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6147, allocations: 192 / 0.5403 GB, free: 5.93 MB / 398.1 MB Notification: Performance of Templates: time 0.006651/0.6214, allocations: 2.448 MB / 0.5427 GB, free: 4.68 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches