Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00189/0.00189, allocations: 118.8 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.002079/0.00208, allocations: 198 kB / 18.73 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.52/1.52, 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.2511/0.2511, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 79.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.443, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003217/0.4462, allocations: 1.736 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4479, allocations: 1.021 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.448, allocations: 1.375 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.4484, allocations: 82.06 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.4487, allocations: 114.1 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.4489, allocations: 80.3 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.4491, allocations: 115.8 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4492, allocations: 10.86 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.4494, allocations: 57.7 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4495, allocations: 63.25 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4495, allocations: 4.125 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.4496, allocations: 44.86 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.4497, allocations: 18.8 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.4497, allocations: 37.38 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.45, allocations: 133 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.45, allocations: 0 / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.45, allocations: 3.938 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.45, allocations: 3.938 kB / 0.5345 GB, free: 11.01 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.0005374/0.4505, allocations: 427.2 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4506, allocations: 13.59 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.4506, allocations: 14.47 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.4509, allocations: 217.6 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4509, allocations: 1.594 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4509, allocations: 6.75 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4511, allocations: 53.48 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4511, allocations: 0 / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4511, allocations: 1.25 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4511, allocations: 5.125 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.4512, allocations: 17.83 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.4516, allocations: 300.6 kB / 0.5355 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4518, allocations: 49.53 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.4518, allocations: 25.81 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4519, allocations: 1.312 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.452, allocations: 69.7 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.452, allocations: 0 / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.4526, allocations: 182.2 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4526, allocations: 53.66 kB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.4528, allocations: 225.2 kB / 0.5361 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.4529, allocations: 26.86 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.4529, allocations: 106.3 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.453, allocations: 23.2 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.453, allocations: 24.72 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4532, allocations: 334.3 kB / 0.5366 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.4533, allocations: 19.25 kB / 0.5366 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.4533, allocations: 35.42 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.4535, allocations: 63.69 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4535, allocations: 0 / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.4537, allocations: 108.2 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4537, allocations: 9.453 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4537, allocations: 384 / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4537, allocations: 1.031 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.4538, allocations: 13.5 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4538, allocations: 1.125 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.4539, allocations: 14 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.4539, allocations: 10.55 kB / 0.5369 GB, free: 8.812 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.0001074/0.454, allocations: 133.2 kB / 0.537 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.454, allocations: 13.66 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.4541, allocations: 19.52 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4541, allocations: 1.156 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4541, allocations: 5.031 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4541, allocations: 3.938 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.4546, allocations: 400.8 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4546, allocations: 1.5 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.4546, allocations: 11.28 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4546, allocations: 4.031 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4546, allocations: 6.719 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4547, allocations: 0 / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4547, allocations: 1.344 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.4549, allocations: 205.4 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.4549, allocations: 83.69 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.455, allocations: 10.88 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.455, allocations: 1.062 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.4551, allocations: 15.7 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4551, allocations: 3 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4553, allocations: 165.3 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4553, allocations: 0 / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000264/0.4555, allocations: 24.86 kB / 0.5379 GB, free: 7.84 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.0009939/0.4565, allocations: 456.8 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.4567, allocations: 62.69 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4567, allocations: 0 / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4568, allocations: 25.36 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.4572, allocations: 48.2 kB / 0.5385 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.4577, allocations: 255 kB / 0.5387 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4581, allocations: 0.7051 MB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.4581, allocations: 25.98 kB / 0.5394 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4582, allocations: 19.98 kB / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4582, allocations: 0 / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of Templates: time 0.004515/0.4627, allocations: 1.742 MB / 0.5412 GB, free: 5.73 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches