Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 118.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.001359/0.001359, allocations: 201.2 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.469/1.469, 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.2205/0.2205, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 83.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3539, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00295/0.3569, allocations: 1.721 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3586, allocations: 1.026 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.3587, allocations: 1.781 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.359, allocations: 82.11 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.3594, allocations: 115.7 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3596, allocations: 77.53 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.3599, allocations: 117.2 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.36, allocations: 14.86 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.3601, allocations: 59.08 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3603, allocations: 59.27 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3603, allocations: 4.125 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3604, allocations: 43.48 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.3605, allocations: 24.16 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.3605, allocations: 37.36 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3608, allocations: 127.1 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3608, allocations: 4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3608, allocations: 1.375 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3608, allocations: 0 / 0.534 GB, free: 10.82 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.0006748/0.3615, allocations: 430.2 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3616, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.3616, allocations: 36.11 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3617, allocations: 14.34 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.362, allocations: 226 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3621, allocations: 5.75 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.3621, allocations: 6.688 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3623, allocations: 57.98 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3623, allocations: 0 / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3623, allocations: 0 / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3623, allocations: 1.375 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.3624, allocations: 22.98 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.3628, allocations: 288.2 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.363, allocations: 65.86 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.3631, allocations: 21.09 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3631, allocations: 1.375 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3633, allocations: 64.83 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.368e-06/0.3633, allocations: 4 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005857/0.3639, allocations: 175.4 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.364, allocations: 52.25 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3642, allocations: 226.2 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3642, allocations: 30.62 kB / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.3643, allocations: 113.9 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3643, allocations: 28.22 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3644, allocations: 20.69 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3646, allocations: 330.4 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.3647, allocations: 19.31 kB / 0.5362 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.3647, allocations: 38.95 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3649, allocations: 59.11 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3649, allocations: 0 / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3651, allocations: 100.2 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3651, allocations: 11.88 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3651, allocations: 1.188 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3651, allocations: 3.984 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.3652, allocations: 17.66 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3652, allocations: 1.156 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3653, allocations: 10.22 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3653, allocations: 2.625 kB / 0.5364 GB, free: 8.578 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 9.617e-05/0.3654, allocations: 131.2 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3654, allocations: 18.19 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.3655, allocations: 23.36 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3655, allocations: 1 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3655, allocations: 4.906 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3655, allocations: 3.938 kB / 0.5366 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.3659, allocations: 401 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.366, allocations: 0 / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.366, allocations: 7.75 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.366, allocations: 5.406 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.366, allocations: 5.688 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.366, allocations: 1.281 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.366, allocations: 0 / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3663, allocations: 213.2 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.3663, allocations: 85.06 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3664, allocations: 5.219 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3665, allocations: 10.72 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3665, allocations: 6.641 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3665, allocations: 7.734 kB / 0.5373 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3667, allocations: 164.9 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3667, allocations: 192 / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.367, allocations: 29.77 kB / 0.5375 GB, free: 7.594 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.00152/0.3685, allocations: 1.089 MB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3687, allocations: 62.47 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3687, allocations: 0 / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.3688, allocations: 33.25 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3692, allocations: 35.88 kB / 0.5387 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3711, allocations: 1.722 MB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3715, allocations: 0.7085 MB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.3715, allocations: 9.953 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.3716, allocations: 43.03 kB / 0.5411 GB, free: 4.457 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3716, allocations: 1.188 kB / 0.5411 GB, free: 4.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3935, allocations: 3.559 MB / 0.5446 GB, free: 2.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.952, allocations: 9.922 kB / 0.5446 GB, free: 2.539 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches