Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.6 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 75.88 kB / 482.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3518, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00292/0.3547, allocations: 1.738 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3564, allocations: 1.022 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.3565, allocations: 1.375 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.3568, allocations: 86.06 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3571, allocations: 118 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3573, allocations: 70.94 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3575, allocations: 121.2 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.3576, allocations: 10.88 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.3577, allocations: 59.12 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.3578, allocations: 59.27 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3579, allocations: 4.125 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.358, allocations: 47.47 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.358, allocations: 24.11 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.3581, allocations: 37.36 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3583, allocations: 131.2 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3583, allocations: 1.312 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3583, allocations: 4 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3583, allocations: 0 / 0.5352 GB, free: 10.96 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.0005476/0.3589, allocations: 420.7 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3589, allocations: 13.62 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.359, allocations: 15.09 kB / 0.5356 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.3593, allocations: 216.2 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3593, allocations: 1.75 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3593, allocations: 7.688 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3595, allocations: 57.39 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3595, allocations: 0 / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3595, allocations: 1.375 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3595, allocations: 0 / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.3596, allocations: 19.11 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.36, allocations: 296.7 kB / 0.5362 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3601, allocations: 57.64 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3602, allocations: 24.88 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3602, allocations: 1.906 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3604, allocations: 61.86 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3604, allocations: 0 / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.361, allocations: 178.6 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.361, allocations: 56.38 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3612, allocations: 226.2 kB / 0.5368 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3613, allocations: 30.95 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.3613, allocations: 102.1 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3614, allocations: 23.42 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3614, allocations: 24.56 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3616, allocations: 334.2 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.3616, allocations: 27.41 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3617, allocations: 35.55 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3618, allocations: 54.8 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3618, allocations: 0 / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.362, allocations: 108.7 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3621, allocations: 4.75 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3621, allocations: 1.156 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3621, allocations: 8.953 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.3622, allocations: 16.41 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3622, allocations: 1.031 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.3623, allocations: 9.969 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3623, allocations: 3.344 kB / 0.5375 GB, free: 8.781 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.0001109/0.3624, allocations: 128.9 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3624, allocations: 10.06 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.3625, allocations: 19.08 kB / 0.5377 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3625, allocations: 6.375 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3625, allocations: 0 / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3625, allocations: 3.938 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.363, allocations: 405 kB / 0.538 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.363, allocations: 0 / 0.538 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.363, allocations: 7.25 kB / 0.5381 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3631, allocations: 1.094 kB / 0.5381 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3631, allocations: 6.562 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3631, allocations: 0 / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3631, allocations: 5.062 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3633, allocations: 205.6 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.3634, allocations: 91.62 kB / 0.5384 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3634, allocations: 6.562 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.3635, allocations: 1.312 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.3636, allocations: 11.92 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3636, allocations: 8 kB / 0.5384 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3637, allocations: 164.7 kB / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3637, allocations: 0 / 0.5385 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.364, allocations: 28.77 kB / 0.5386 GB, free: 7.809 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.001048/0.3651, allocations: 463.9 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.3653, allocations: 61.59 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3653, allocations: 0 / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.3654, allocations: 25.44 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3657, allocations: 35.66 kB / 0.5391 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.3663, allocations: 288.1 kB / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3666, allocations: 0.7118 MB / 0.5401 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.3666, allocations: 15.16 kB / 0.5401 GB, free: 6.562 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3666, allocations: 1.125 kB / 0.5401 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Templates: time 0.003947/0.3706, allocations: 2.009 MB / 0.5421 GB, free: 5.523 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches