Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 115.6 kB / 18.45 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.001304/0.001304, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 76.16 kB / 482.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.337, allocations: 62.44 MB / 0.5318 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003553/0.3405, allocations: 1.739 MB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3425, allocations: 1.02 MB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.3425, allocations: 5.312 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3429, allocations: 46.94 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3432, allocations: 101.8 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3434, allocations: 82.86 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3436, allocations: 102.4 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.3437, allocations: 4.125 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3438, allocations: 52.28 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.3439, allocations: 33.41 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3439, allocations: 4.125 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.344, allocations: 40.86 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3441, allocations: 24.11 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.3441, allocations: 47.86 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3444, allocations: 130.7 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3444, allocations: 0 / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3444, allocations: 0 / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3444, allocations: 0 / 0.5352 GB, free: 10.99 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.0006217/0.345, allocations: 448.2 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.345, allocations: 8.469 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.3451, allocations: 11.2 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.3454, allocations: 224 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3455, allocations: 1.688 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3455, allocations: 9.75 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3456, allocations: 49.83 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3457, allocations: 5.547 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3457, allocations: 4 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3457, allocations: 5.281 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.3458, allocations: 17.73 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.3462, allocations: 289.1 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3463, allocations: 59.89 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.3464, allocations: 24.64 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3464, allocations: 1.031 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3466, allocations: 69.47 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3466, allocations: 0 / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.3471, allocations: 172 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3472, allocations: 52.59 kB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.3474, allocations: 241 kB / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3475, allocations: 33.69 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.3475, allocations: 114.9 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3476, allocations: 27.17 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3476, allocations: 20.62 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3478, allocations: 335.8 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.3478, allocations: 14.5 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.3479, allocations: 35.36 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.348, allocations: 67.23 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3481, allocations: 0 / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.3483, allocations: 100.5 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3483, allocations: 5.656 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3483, allocations: 5.797 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3483, allocations: 0 / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.3484, allocations: 20.94 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3484, allocations: 5.625 kB / 0.5375 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.3484, allocations: 13.88 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3485, allocations: 7.141 kB / 0.5375 GB, free: 8.766 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.0001309/0.3486, allocations: 127 kB / 0.5377 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3486, allocations: 14.06 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.3487, allocations: 24.94 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3487, allocations: 1.062 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3487, allocations: 0 / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3487, allocations: 3.938 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.3492, allocations: 401.4 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3492, allocations: 1.312 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.3492, allocations: 6.875 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3492, allocations: 1.375 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3493, allocations: 14.36 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3493, allocations: 3.938 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3493, allocations: 1.281 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.3495, allocations: 205.4 kB / 0.5383 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.3496, allocations: 92.45 kB / 0.5384 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3496, allocations: 5.969 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3497, allocations: 1.125 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3497, allocations: 8.328 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3498, allocations: 3.688 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3499, allocations: 176.6 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3499, allocations: 5.25 kB / 0.5386 GB, free: 7.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.3502, allocations: 24.81 kB / 0.5386 GB, free: 7.789 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.001713/0.3519, allocations: 453.2 kB / 0.539 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3522, allocations: 68.97 kB / 0.5391 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3522, allocations: 3.938 kB / 0.5391 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.3523, allocations: 26.92 kB / 0.5391 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3526, allocations: 32.95 kB / 0.5392 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.3532, allocations: 257.7 kB / 0.5394 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3536, allocations: 0.7139 MB / 0.5401 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.3537, allocations: 17.53 kB / 0.5401 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3538, allocations: 16.31 kB / 0.5401 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3538, allocations: 0 / 0.5401 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Templates: time 0.005421/0.3592, allocations: 1.767 MB / 0.5419 GB, free: 5.672 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches