Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 112 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 215.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2425/0.2425, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 75.88 kB / 482.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4328, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003935/0.4368, allocations: 1.734 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.4389, allocations: 1.019 MB / 0.5344 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.439, allocations: 1.375 kB / 0.5344 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.4394, allocations: 48.12 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.4399, allocations: 100.4 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.4403, allocations: 78.91 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.4405, allocations: 98.33 kB / 0.5347 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4407, allocations: 18.86 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.4408, allocations: 44.28 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.4409, allocations: 33.31 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.441, allocations: 4 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.4411, allocations: 39.77 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.4412, allocations: 27.25 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.4413, allocations: 36.12 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.4416, allocations: 121.9 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4416, allocations: 0 / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4416, allocations: 4 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4416, allocations: 1.594 kB / 0.5351 GB, free: 11.28 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.0007039/0.4423, allocations: 413 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4424, allocations: 9.469 kB / 0.5355 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.4425, allocations: 14.22 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.4428, allocations: 220.6 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4429, allocations: 1.594 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4429, allocations: 18.61 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4431, allocations: 58.64 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4431, allocations: 0 / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4431, allocations: 0 / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4432, allocations: 1.062 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.4432, allocations: 22.86 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.4437, allocations: 283.3 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.4439, allocations: 70.56 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.444, allocations: 17.8 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.444, allocations: 5.188 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.4442, allocations: 64.7 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.159e-06/0.4442, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006189/0.4448, allocations: 182.6 kB / 0.5364 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4449, allocations: 56.5 kB / 0.5364 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.4451, allocations: 208 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4451, allocations: 31.11 kB / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.4452, allocations: 100.8 kB / 0.5367 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.4453, allocations: 27.73 kB / 0.5368 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.4453, allocations: 25.69 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4454, allocations: 329.5 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.4455, allocations: 23.53 kB / 0.5371 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.4456, allocations: 39.27 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4457, allocations: 54.67 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4457, allocations: 0 / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.446, allocations: 108.2 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.446, allocations: 5.688 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.446, allocations: 3.984 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.446, allocations: 6.156 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.4461, allocations: 13.06 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4461, allocations: 0 / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.4462, allocations: 6.5 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4462, allocations: 2.812 kB / 0.5374 GB, free: 9.102 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.0001249/0.4463, allocations: 132.4 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4464, allocations: 9.062 kB / 0.5375 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.4464, allocations: 20.52 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4464, allocations: 0 / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4465, allocations: 5.031 kB / 0.5375 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4465, allocations: 3.938 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.4469, allocations: 403.2 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.447, allocations: 1.188 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.447, allocations: 11.34 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.447, allocations: 0.9688 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.447, allocations: 6.281 kB / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.447, allocations: 0 / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4471, allocations: 5.094 kB / 0.5379 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.4473, allocations: 205 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.4474, allocations: 96.25 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4474, allocations: 10.03 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.4475, allocations: 1.156 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.4475, allocations: 8.234 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.4476, allocations: 11.25 kB / 0.5383 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.4477, allocations: 158.3 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4477, allocations: 1.094 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.448, allocations: 20.84 kB / 0.5384 GB, free: 8.121 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.001146/0.4492, allocations: 451 kB / 0.5389 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.4494, allocations: 62.34 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4494, allocations: 0 / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.4495, allocations: 34.14 kB / 0.5389 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4499, allocations: 34.8 kB / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.4505, allocations: 268 kB / 0.5392 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4508, allocations: 0.7114 MB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.4509, allocations: 19.38 kB / 0.5399 GB, free: 6.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4509, allocations: 1.062 kB / 0.5399 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Templates: time 0.005318/0.4562, allocations: 1.989 MB / 0.5419 GB, free: 5.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches