Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 117.6 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.001207/0.001207, allocations: 199.9 kB / 18.74 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.375/1.375, 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.2186/0.2186, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3093, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003084/0.3125, allocations: 1.831 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.315, allocations: 1.695 MB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.3151, allocations: 5.312 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.3154, allocations: 54.81 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3158, allocations: 129.8 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3161, allocations: 109.8 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3164, allocations: 208.4 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.3165, allocations: 17.92 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3166, allocations: 84.69 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3168, allocations: 84.42 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.3169, allocations: 9.625 kB / 0.5347 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.3171, allocations: 118 kB / 0.5348 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.3172, allocations: 36.33 kB / 0.5348 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.3172, allocations: 62.75 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3176, allocations: 226.2 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3176, allocations: 5.297 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3176, allocations: 0 / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3176, allocations: 4 kB / 0.5351 GB, free: 9.875 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000696/0.3183, allocations: 0.4899 MB / 0.5356 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3184, allocations: 13.95 kB / 0.5356 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.3184, allocations: 36.97 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3185, allocations: 17 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3189, allocations: 257.9 kB / 0.5359 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3189, allocations: 2.688 kB / 0.5359 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3189, allocations: 7.156 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3192, allocations: 107 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3192, allocations: 1.438 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3192, allocations: 0 / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3192, allocations: 1.312 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3193, allocations: 31.92 kB / 0.5361 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.3196, allocations: 229.3 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3199, allocations: 101.9 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.32, allocations: 42.3 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.32, allocations: 5.406 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.3202, allocations: 108.9 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3202, allocations: 0 / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004691/0.3207, allocations: 167.6 kB / 0.5367 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3208, allocations: 138.6 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.3211, allocations: 240 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3211, allocations: 26.92 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3212, allocations: 119.8 kB / 0.5372 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3213, allocations: 23.94 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3213, allocations: 35.58 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3215, allocations: 327.2 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3215, allocations: 31.09 kB / 0.5376 GB, free: 7.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3217, allocations: 74.58 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3219, allocations: 91.14 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3219, allocations: 7.875 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002778/0.3222, allocations: 137.8 kB / 0.5379 GB, free: 7.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3222, allocations: 5.281 kB / 0.5379 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3222, allocations: 1.312 kB / 0.5379 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3222, allocations: 1.438 kB / 0.5379 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3223, allocations: 25.61 kB / 0.5379 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3224, allocations: 1.531 kB / 0.5379 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.3225, allocations: 17.73 kB / 0.5379 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3225, allocations: 3.344 kB / 0.5379 GB, free: 7.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001197/0.3226, allocations: 141.2 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3227, allocations: 17 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.3227, allocations: 19.08 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3227, allocations: 2.094 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3227, allocations: 0 / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3227, allocations: 1.125 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.323, allocations: 231.9 kB / 0.5383 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.323, allocations: 3.984 kB / 0.5383 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.323, allocations: 10.78 kB / 0.5383 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.323, allocations: 5.094 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.323, allocations: 2.5 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.323, allocations: 1.344 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.323, allocations: 128 / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.3234, allocations: 178.8 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.3235, allocations: 94.02 kB / 0.5386 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3235, allocations: 10.22 kB / 0.5386 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.3236, allocations: 7.859 kB / 0.5386 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3237, allocations: 4.562 kB / 0.5386 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3237, allocations: 12.33 kB / 0.5386 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.3239, allocations: 178 kB / 0.5388 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3239, allocations: 0 / 0.5388 GB, free: 6.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3242, allocations: 58.48 kB / 0.5389 GB, free: 6.449 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001745/0.326, allocations: 1.096 MB / 0.5399 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3263, allocations: 82.47 kB / 0.54 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3263, allocations: 5.375 kB / 0.54 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3264, allocations: 38.19 kB / 0.5401 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3268, allocations: 65.7 kB / 0.5401 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3292, allocations: 1.89 MB / 0.542 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3295, allocations: 0.7178 MB / 0.5427 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3296, allocations: 36.61 kB / 0.5427 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3297, allocations: 62.86 kB / 0.5428 GB, free: 3.211 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3298, allocations: 0 / 0.5428 GB, free: 3.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3565, allocations: 5.282 MB / 0.5479 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.666, allocations: 8.578 kB / 0.5479 GB, free: 15.63 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches