Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 203.8 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.426/1.426, 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.2554/0.2554, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 87.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003029/0.3262, allocations: 1.723 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.328, allocations: 1.022 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.3281, allocations: 7.844 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3284, allocations: 50.94 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3287, allocations: 103.1 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.3289, allocations: 78.92 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.3291, allocations: 101 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3293, allocations: 14.88 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.3294, allocations: 44.28 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.3295, allocations: 33.41 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3295, allocations: 4.125 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.3296, allocations: 43.42 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.3297, allocations: 22.92 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.3298, allocations: 53.22 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.33, allocations: 136.6 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.33, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.33, allocations: 1.375 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3301, allocations: 0 / 0.534 GB, free: 10.76 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.0006744/0.3307, allocations: 455.4 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3308, allocations: 10.03 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3308, allocations: 42.62 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.3309, allocations: 16.03 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3313, allocations: 216.2 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3313, allocations: 5.312 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3313, allocations: 11.25 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3315, allocations: 50.08 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3315, allocations: 7.984 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3315, allocations: 4 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3315, allocations: 1.469 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.3316, allocations: 18.3 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.332, allocations: 303.4 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3322, allocations: 58.05 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.3323, allocations: 26.09 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3323, allocations: 1.094 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.3325, allocations: 64.7 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3325, allocations: 0 / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.3331, allocations: 189 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3331, allocations: 56.5 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.3334, allocations: 275.2 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3335, allocations: 26.7 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.3336, allocations: 111.8 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.3336, allocations: 31.95 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3336, allocations: 24.69 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3338, allocations: 324 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.3339, allocations: 21.89 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.3339, allocations: 39.89 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3341, allocations: 62.67 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3341, allocations: 1.281 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3343, allocations: 100.4 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3343, allocations: 5.5 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3343, allocations: 1.375 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3343, allocations: 0 / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.3344, allocations: 25.7 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3344, allocations: 1.375 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.3345, allocations: 9.312 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3345, allocations: 2.75 kB / 0.5365 GB, free: 8.457 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.0001125/0.3346, allocations: 134.5 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3347, allocations: 14.78 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.3347, allocations: 25.58 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.3347, allocations: 3.938 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3347, allocations: 5.375 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3347, allocations: 3.938 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.3352, allocations: 408 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3352, allocations: 1.188 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.3353, allocations: 11.67 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3353, allocations: 5.25 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3353, allocations: 1.469 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3353, allocations: 5.344 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3353, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3356, allocations: 206.2 kB / 0.5373 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3357, allocations: 92.72 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3357, allocations: 6.156 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3358, allocations: 10.2 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3358, allocations: 7.641 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3358, allocations: 3.406 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.336, allocations: 206.5 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 0 / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3363, allocations: 26.34 kB / 0.5376 GB, free: 7.457 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.00218/0.3385, allocations: 1.103 MB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.3387, allocations: 53.61 kB / 0.5388 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3387, allocations: 1.219 kB / 0.5388 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.3388, allocations: 37.2 kB / 0.5388 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3392, allocations: 31.3 kB / 0.5388 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3412, allocations: 1.834 MB / 0.5406 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3415, allocations: 0.7199 MB / 0.5413 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.3416, allocations: 15.06 kB / 0.5413 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.3417, allocations: 43.11 kB / 0.5414 GB, free: 4.262 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3417, allocations: 0 / 0.5414 GB, free: 4.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.3679, allocations: 3.787 MB / 0.5451 GB, free: 2.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.377, allocations: 8.938 kB / 0.5451 GB, free: 2.238 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches