Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.88 kB / 482.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3056, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002835/0.3085, allocations: 1.732 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3102, allocations: 1.026 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.3103, allocations: 1.406 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3105, allocations: 51 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.3109, allocations: 89.02 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.3111, allocations: 83.16 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3113, allocations: 105.4 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.3114, allocations: 14.83 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.3115, allocations: 36.36 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.3116, allocations: 42.09 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3116, allocations: 3.438 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.3118, allocations: 43.84 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.3118, allocations: 20.86 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.3119, allocations: 40.44 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3121, allocations: 130 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3121, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3121, allocations: 3.938 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3121, allocations: 1.375 kB / 0.5351 GB, free: 11.05 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.0005667/0.3127, allocations: 433.6 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3127, allocations: 9.625 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.3128, allocations: 10.34 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3131, allocations: 219.5 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3131, allocations: 5.75 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3131, allocations: 6.875 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3133, allocations: 54.05 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3133, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3133, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3133, allocations: 5.359 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.3134, allocations: 26.92 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3138, allocations: 297.5 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.314, allocations: 57.94 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.314, allocations: 25.09 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3141, allocations: 9.297 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.3142, allocations: 65.14 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3142, allocations: 4 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000541/0.3148, allocations: 179.6 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3148, allocations: 52.34 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.315, allocations: 239.7 kB / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3151, allocations: 30.77 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.3151, allocations: 105.5 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3152, allocations: 23.95 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3152, allocations: 20.09 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3154, allocations: 335.1 kB / 0.5372 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.3155, allocations: 18.95 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.3155, allocations: 35.55 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3156, allocations: 64.02 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3157, allocations: 0 / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.3158, allocations: 111.4 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3159, allocations: 6 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3159, allocations: 0 / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3159, allocations: 1.844 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.316, allocations: 16.45 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.316, allocations: 1.219 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.316, allocations: 10.56 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3161, allocations: 2.656 kB / 0.5374 GB, free: 8.84 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.0001188/0.3162, allocations: 132.8 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3162, allocations: 13.66 kB / 0.5376 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.3163, allocations: 19.45 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3163, allocations: 1.344 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3163, allocations: 1.281 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3163, allocations: 7.875 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.3168, allocations: 401.7 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3168, allocations: 0 / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.3168, allocations: 11.88 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3168, allocations: 5.156 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3168, allocations: 5.719 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3168, allocations: 1.125 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3169, allocations: 5.062 kB / 0.538 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.3171, allocations: 205 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.3172, allocations: 88.3 kB / 0.5383 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3172, allocations: 9.938 kB / 0.5383 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.3173, allocations: 6.062 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3173, allocations: 14.8 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3174, allocations: 3.938 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3175, allocations: 173.3 kB / 0.5385 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3175, allocations: 1.156 kB / 0.5385 GB, free: 7.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3178, allocations: 24.16 kB / 0.5385 GB, free: 7.855 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.001059/0.3188, allocations: 461 kB / 0.539 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3191, allocations: 58.5 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3191, allocations: 0 / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.3192, allocations: 29.8 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3195, allocations: 35.5 kB / 0.5391 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.32, allocations: 295.6 kB / 0.5394 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3203, allocations: 0.7051 MB / 0.54 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.3204, allocations: 27.08 kB / 0.5401 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3204, allocations: 0 / 0.5401 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.003779/0.3242, allocations: 2.039 MB / 0.5421 GB, free: 5.551 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches