Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 122.1 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, 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.217/0.217, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 79.88 kB / 481.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3554, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003602/0.3591, allocations: 1.737 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.3615, allocations: 1.622 MB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.3616, allocations: 5.312 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.362, allocations: 33.47 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.3623, allocations: 98.91 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3626, allocations: 83.55 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3628, allocations: 102.1 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.363, allocations: 14.34 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3631, allocations: 41.52 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3633, allocations: 51.05 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3633, allocations: 4.062 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.3635, allocations: 111.8 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.3636, allocations: 23.64 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.3636, allocations: 36.94 kB / 0.535 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.364, allocations: 170.4 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.364, allocations: 1.125 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.364, allocations: 0 / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.364, allocations: 0 / 0.5352 GB, free: 10.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005968/0.3646, allocations: 430.7 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3646, allocations: 9.094 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3647, allocations: 13.28 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.365, allocations: 216 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.365, allocations: 13.12 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3651, allocations: 2.219 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3652, allocations: 69.75 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3653, allocations: 0 / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3653, allocations: 1.094 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.3653, allocations: 1.062 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.3654, allocations: 18.52 kB / 0.5359 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.3658, allocations: 289.3 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.366, allocations: 61.47 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.366, allocations: 17.8 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3661, allocations: 0.9688 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.3662, allocations: 77.09 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3662, allocations: 1.406 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.3668, allocations: 177.1 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.3669, allocations: 82.42 kB / 0.5366 GB, free: 9.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3671, allocations: 162.8 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3671, allocations: 34.95 kB / 0.5368 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.3672, allocations: 95.5 kB / 0.5369 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3672, allocations: 31.89 kB / 0.5369 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3673, allocations: 24.78 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3674, allocations: 325.4 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.3675, allocations: 24.02 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.3676, allocations: 40.97 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3677, allocations: 58.41 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3677, allocations: 5.188 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002131/0.3679, allocations: 98.61 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3679, allocations: 5.281 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.368, allocations: 1.375 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.368, allocations: 0.9375 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3681, allocations: 29.17 kB / 0.5375 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3681, allocations: 4.844 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.3682, allocations: 2.25 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3682, allocations: 3.031 kB / 0.5375 GB, free: 8.234 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 (10): * Single equations (assignments): 10 * 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.0001411/0.3684, allocations: 123.7 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.3684, allocations: 9.953 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.3685, allocations: 16.02 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3685, allocations: 1.094 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3685, allocations: 3.938 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3685, allocations: 1.031 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.3691, allocations: 396.3 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3691, allocations: 5.125 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3692, allocations: 14.67 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3692, allocations: 1.344 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3692, allocations: 1.344 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3692, allocations: 5.156 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3692, allocations: 1.406 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3695, allocations: 200 kB / 0.5382 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.3696, allocations: 91.22 kB / 0.5383 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3696, allocations: 10.11 kB / 0.5383 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3697, allocations: 6.312 kB / 0.5383 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3697, allocations: 3.562 kB / 0.5383 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3697, allocations: 7.016 kB / 0.5383 GB, free: 7.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3699, allocations: 127.5 kB / 0.5385 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3699, allocations: 0 / 0.5385 GB, free: 7.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.3702, allocations: 49.95 kB / 0.5385 GB, free: 7.277 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 (8): * Single equations (assignments): 6 * 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.001407/0.3716, allocations: 0.5417 MB / 0.539 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3718, allocations: 54.95 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3719, allocations: 0 / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.3719, allocations: 33.33 kB / 0.5391 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3723, allocations: 39.62 kB / 0.5392 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3727, allocations: 198.6 kB / 0.5394 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.373, allocations: 0.6988 MB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.3731, allocations: 23.41 kB / 0.5401 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.3732, allocations: 17.16 kB / 0.5401 GB, free: 6.035 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3732, allocations: 0 / 0.5401 GB, free: 6.035 MB / 398.1 MB Notification: Performance of Templates: time 0.005853/0.379, allocations: 2.358 MB / 0.5424 GB, free: 4.824 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches