Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, 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.001321/0.001321, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.81 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3279, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00316/0.3311, allocations: 1.732 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3328, allocations: 1.018 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.3329, allocations: 5.312 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.3333, allocations: 38.77 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3336, allocations: 96.47 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.3338, allocations: 82.91 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.334, allocations: 102.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3341, allocations: 9.5 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3342, allocations: 48.27 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.3343, allocations: 38.73 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3343, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.3344, allocations: 39.48 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3345, allocations: 22.78 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.3346, allocations: 32 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.3348, allocations: 122.1 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3348, allocations: 4 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3348, allocations: 3.984 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3348, allocations: 1.375 kB / 0.5351 GB, free: 11.04 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.0006143/0.3354, allocations: 414.9 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3355, allocations: 8.25 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3355, allocations: 14.33 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3358, allocations: 212.9 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3358, allocations: 5.75 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3359, allocations: 7.781 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.336, allocations: 56.98 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.336, allocations: 3.906 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3361, allocations: 1.375 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3361, allocations: 0 / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.3362, allocations: 22.92 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3365, allocations: 287.2 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3367, allocations: 65.03 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.3368, allocations: 18.11 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3368, allocations: 1.312 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.337, allocations: 73.2 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.337, allocations: 0 / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.3375, allocations: 173.6 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3376, allocations: 52.47 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.3378, allocations: 196.8 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3378, allocations: 26.77 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.3379, allocations: 101.8 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3379, allocations: 31.09 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.338, allocations: 24.16 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3381, allocations: 327.2 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.3382, allocations: 26.33 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.3383, allocations: 39.77 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.3384, allocations: 54.66 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.3384, allocations: 0 / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.3386, allocations: 108.3 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3386, allocations: 4.625 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3386, allocations: 9.094 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3386, allocations: 1.125 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3387, allocations: 17.23 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3388, allocations: 1.031 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3388, allocations: 5.938 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3388, allocations: 3.188 kB / 0.5373 GB, free: 8.879 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.0001149/0.3389, allocations: 126.8 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.339, allocations: 9.469 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.339, allocations: 18.97 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.339, allocations: 1.5 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.339, allocations: 0 / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.339, allocations: 3.938 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3395, allocations: 398 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3395, allocations: 1.094 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.3395, allocations: 11.78 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3396, allocations: 1 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3396, allocations: 9.125 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3396, allocations: 9.828 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3396, allocations: 0 / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3398, allocations: 192.7 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.3399, allocations: 88.11 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3399, allocations: 9.656 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.34, allocations: 2.906 kB / 0.5382 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.34, allocations: 14.98 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3401, allocations: 7.656 kB / 0.5382 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3402, allocations: 151.9 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3402, allocations: 1.062 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3405, allocations: 23.97 kB / 0.5384 GB, free: 7.914 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.0011/0.3416, allocations: 469.1 kB / 0.5388 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.3418, allocations: 56.84 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3418, allocations: 1.469 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.3419, allocations: 28.61 kB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3422, allocations: 31.81 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.3427, allocations: 266.4 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.343, allocations: 0.7066 MB / 0.5399 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3431, allocations: 23.2 kB / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3431, allocations: 0 / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of Templates: time 0.00384/0.3469, allocations: 1.951 MB / 0.5418 GB, free: 5.676 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches