Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002485/0.002485, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003192/0.3032, allocations: 1.699 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.3049, allocations: 1.004 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.305, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3053, allocations: 53.5 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3056, allocations: 91.66 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.3058, allocations: 77.55 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3059, allocations: 99.56 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.306, allocations: 12.36 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.3061, allocations: 40.28 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.3062, allocations: 33.47 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3062, allocations: 2.75 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.3063, allocations: 28.61 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.3063, allocations: 30.8 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.3064, allocations: 45.3 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.3066, allocations: 127.1 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3066, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3066, allocations: 0 / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.3066, allocations: 1.375 kB / 0.5338 GB, free: 10.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005055/0.3071, allocations: 440.8 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3072, allocations: 9.625 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.3072, allocations: 32.12 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3073, allocations: 11.77 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3075, allocations: 226.9 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3076, allocations: 9.734 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3076, allocations: 5.312 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3077, allocations: 47.3 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3077, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3078, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3078, allocations: 3.938 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.3078, allocations: 16.23 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.308, allocations: 193 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3082, allocations: 61.97 kB / 0.5348 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.3083, allocations: 24.84 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3083, allocations: 1.844 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3085, allocations: 59.77 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3085, allocations: 0 / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000272/0.3087, allocations: 105.2 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3088, allocations: 52.66 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.309, allocations: 275.3 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3091, allocations: 26.8 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.3091, allocations: 115.2 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.3092, allocations: 18.06 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3092, allocations: 18.25 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3093, allocations: 335.9 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.3094, allocations: 11.78 kB / 0.5358 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.3095, allocations: 27.98 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.3096, allocations: 46.92 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3096, allocations: 9 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.3098, allocations: 81.12 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3098, allocations: 8.688 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3098, allocations: 1.156 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3098, allocations: 1.156 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.3099, allocations: 13.06 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3099, allocations: 3.984 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.31, allocations: 10.3 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.31, allocations: 2.156 kB / 0.536 GB, free: 8.77 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 (7): * Single equations (assignments): 7 * 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.0001135/0.3101, allocations: 135.2 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3101, allocations: 14.41 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3102, allocations: 28.3 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3102, allocations: 1.281 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3102, allocations: 0 / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3102, allocations: 1.25 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3104, allocations: 194.2 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3104, allocations: 1.312 kB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3104, allocations: 6.688 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3104, allocations: 1.312 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3104, allocations: 4 kB / 0.5364 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3104, allocations: 1.344 kB / 0.5364 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3104, allocations: 4 kB / 0.5364 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.3106, allocations: 115.7 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3107, allocations: 88.48 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3107, allocations: 5.078 kB / 0.5366 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.3108, allocations: 9.703 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3108, allocations: 1.469 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3108, allocations: 7.094 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.311, allocations: 205.5 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 1.375 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.3112, allocations: 21.09 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00132/0.3126, allocations: 0.9461 MB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3128, allocations: 43.83 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3128, allocations: 0 / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.3128, allocations: 24.2 kB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3131, allocations: 31.45 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.3147, allocations: 1.673 MB / 0.5395 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.315, allocations: 0.7154 MB / 0.5402 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.3151, allocations: 15.59 kB / 0.5402 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.3152, allocations: 42.58 kB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3152, allocations: 0 / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3343, allocations: 3.481 MB / 0.5437 GB, free: 3.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.021, allocations: 15.45 kB / 0.5437 GB, free: 3.199 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches