Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, 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.001406/0.001406, 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.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 75.88 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5452, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00387/0.5491, allocations: 1.736 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.5512, allocations: 1.018 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.5513, allocations: 1.031 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.5517, allocations: 51.44 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.5521, allocations: 97.03 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.5523, allocations: 84.28 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.5525, allocations: 104.9 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5527, allocations: 10.88 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.5528, allocations: 42.91 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.5529, allocations: 34.78 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.5529, allocations: 8.062 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.553, allocations: 39.48 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.5531, allocations: 24.16 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.5532, allocations: 45.25 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.5535, allocations: 129.4 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5535, allocations: 4 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5535, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5535, allocations: 0 / 0.5344 GB, free: 11.02 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.0007426/0.5543, allocations: 439.4 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5543, allocations: 9.625 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.5544, allocations: 10.39 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.5548, allocations: 223.6 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5548, allocations: 5.75 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.5548, allocations: 10.88 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.555, allocations: 57.98 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.555, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.555, allocations: 1.375 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5551, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.5551, allocations: 18.98 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.5556, allocations: 293.6 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.5558, allocations: 61.88 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.5559, allocations: 20.66 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.5559, allocations: 2.156 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.5561, allocations: 68.7 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5561, allocations: 4 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006655/0.5568, allocations: 184 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.5569, allocations: 52.81 kB / 0.5358 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.5572, allocations: 235 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5572, allocations: 30.89 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.5573, allocations: 114.5 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.5574, allocations: 22.97 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.5574, allocations: 21.09 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5576, allocations: 334.4 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.5577, allocations: 27.92 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.5578, allocations: 35.33 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5579, allocations: 54.77 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5579, allocations: 192 / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002328/0.5582, allocations: 105 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5582, allocations: 12.47 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5582, allocations: 1.156 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5582, allocations: 1.125 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5584, allocations: 17.55 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5584, allocations: 1.219 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.5584, allocations: 5 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.5584, allocations: 3.438 kB / 0.5368 GB, free: 8.801 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.0001501/0.5586, allocations: 134.4 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.5586, allocations: 18.12 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.5587, allocations: 19.08 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5587, allocations: 1.156 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5587, allocations: 1.188 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5587, allocations: 3.938 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.5593, allocations: 406.1 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5593, allocations: 0 / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.5594, allocations: 8.25 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5594, allocations: 5 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5594, allocations: 5 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5594, allocations: 1.219 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5594, allocations: 1.531 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.5597, allocations: 212.7 kB / 0.5376 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.5598, allocations: 88.73 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.5598, allocations: 5.969 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.5599, allocations: 13.19 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.56, allocations: 12.23 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.56, allocations: 7.172 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.5602, allocations: 177.3 kB / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5602, allocations: 1.125 kB / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.5605, allocations: 24.28 kB / 0.5379 GB, free: 7.801 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.001309/0.5618, allocations: 451.1 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.562, allocations: 61.81 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.562, allocations: 0 / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.5621, allocations: 29.7 kB / 0.5384 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.0003524/0.5625, allocations: 39.92 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.5631, allocations: 255.3 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5635, allocations: 0.7092 MB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.5635, allocations: 18.52 kB / 0.5394 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.5636, allocations: 22.78 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5636, allocations: 5 kB / 0.5394 GB, free: 6.578 MB / 398.1 MB Notification: Performance of Templates: time 0.005801/0.5694, allocations: 1.753 MB / 0.5411 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches