Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001592, allocations: 118.8 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.001892/0.001892, allocations: 198 kB / 18.73 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.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3418, allocations: 62.44 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004389/0.3462, allocations: 1.946 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.3491, allocations: 1.055 MB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.3494, allocations: 1.344 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.35, allocations: 49.81 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.3506, allocations: 98.33 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3512, allocations: 96.78 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.3517, allocations: 146.1 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.3519, allocations: 30.64 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.3522, allocations: 61.45 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3523, allocations: 45.47 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3524, allocations: 6.875 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.3526, allocations: 54.16 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.3527, allocations: 26.73 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.3528, allocations: 55.98 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.3533, allocations: 156.5 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3533, allocations: 0 / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3533, allocations: 1.375 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3533, allocations: 0 / 0.5343 GB, free: 10.55 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007838/0.3541, allocations: 493.4 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3541, allocations: 9.625 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.3542, allocations: 40.11 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.3543, allocations: 17.09 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.3546, allocations: 235.7 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.3547, allocations: 7.125 kB / 0.5351 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.3547, allocations: 9.438 kB / 0.5351 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.355, allocations: 112 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.355, allocations: 0 / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3551, allocations: 1.375 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3551, allocations: 5.375 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3553, allocations: 50.03 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.3561, allocations: 0.4958 MB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3565, allocations: 96.69 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3566, allocations: 39.92 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3567, allocations: 1.062 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.3569, allocations: 81.12 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3569, allocations: 7.938 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004242/0.3574, allocations: 139.5 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3574, allocations: 60.62 kB / 0.5361 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3576, allocations: 199 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3577, allocations: 35.23 kB / 0.5364 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.3577, allocations: 119.9 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3578, allocations: 27.16 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.3578, allocations: 35.08 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.358, allocations: 326.3 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.3581, allocations: 28.45 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3582, allocations: 64.27 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3584, allocations: 101.5 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3584, allocations: 1.125 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003266/0.3588, allocations: 133.6 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3588, allocations: 9.953 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3588, allocations: 8.969 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3588, allocations: 6.031 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.359, allocations: 17.81 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.359, allocations: 6.766 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.3591, allocations: 16.89 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3591, allocations: 7.688 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001338/0.3592, allocations: 130.9 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3593, allocations: 14.12 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3593, allocations: 22.94 kB / 0.5374 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3593, allocations: 5.344 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3593, allocations: 0 / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3594, allocations: 0 / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.3596, allocations: 210.8 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3596, allocations: 0 / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.3597, allocations: 10.41 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3597, allocations: 1.062 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3597, allocations: 0.9688 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.3597, allocations: 7.922 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3597, allocations: 5.094 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.3601, allocations: 184.6 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.3602, allocations: 89.27 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3602, allocations: 1.156 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.3603, allocations: 12.8 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.3603, allocations: 10.61 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3604, allocations: 7.156 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3605, allocations: 149.5 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3605, allocations: 0 / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3608, allocations: 27.94 kB / 0.5381 GB, free: 7.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001592/0.3624, allocations: 1.017 MB / 0.5391 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.3626, allocations: 79.38 kB / 0.5391 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3627, allocations: 0 / 0.5391 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3628, allocations: 42.94 kB / 0.5392 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3631, allocations: 40.47 kB / 0.5392 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3653, allocations: 1.757 MB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3657, allocations: 0.7154 MB / 0.5416 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.73e-05/0.3658, allocations: 23.62 kB / 0.5417 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.3659, allocations: 44.61 kB / 0.5417 GB, free: 3.977 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3659, allocations: 4 kB / 0.5417 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3897, allocations: 3.802 MB / 0.5454 GB, free: 1.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.063, allocations: 20.48 kB / 0.5454 GB, free: 1.938 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches