Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 118.2 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.001835/0.001835, allocations: 198 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.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3183, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003056/0.3214, allocations: 1.731 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3231, allocations: 1.016 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.3232, allocations: 0.8438 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3235, allocations: 53.62 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.3238, allocations: 95.78 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.324, allocations: 74.89 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3242, allocations: 102.5 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.3243, allocations: 13.8 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.3244, allocations: 48.44 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.3245, allocations: 37.72 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3245, allocations: 4.375 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3246, allocations: 39.55 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.3247, allocations: 28.22 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.3248, allocations: 39.48 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.325, allocations: 122.6 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.325, allocations: 1.344 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.325, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.325, allocations: 0 / 0.5339 GB, free: 10.84 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.0005477/0.3256, allocations: 433.7 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3256, allocations: 9.812 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.3257, allocations: 36.62 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3257, allocations: 10.55 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.326, allocations: 215.8 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.326, allocations: 6.094 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.326, allocations: 5.812 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3262, allocations: 58.66 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3262, allocations: 4 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3262, allocations: 0 / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3262, allocations: 0.9375 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.3263, allocations: 22.52 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.3267, allocations: 287.7 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3269, allocations: 59.05 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.3269, allocations: 20.83 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.327, allocations: 4.969 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.3271, allocations: 73.61 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3271, allocations: 0 / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.3277, allocations: 178.3 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3277, allocations: 52.78 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3279, allocations: 220 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3279, allocations: 27.08 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.328, allocations: 101.6 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.328, allocations: 27.95 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3281, allocations: 20.59 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3282, allocations: 325.6 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.464e-05/0.3283, allocations: 19 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.3283, allocations: 39.45 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.3285, allocations: 63.84 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3285, allocations: 0 / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.3286, allocations: 100.2 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3287, allocations: 9.625 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3287, allocations: 0 / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3287, allocations: 5.312 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.3288, allocations: 20.42 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3288, allocations: 1.094 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.3288, allocations: 14.12 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3289, allocations: 3.375 kB / 0.5363 GB, free: 8.609 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.781e-05/0.329, allocations: 123.7 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.329, allocations: 14.47 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.3291, allocations: 22.73 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3291, allocations: 1.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3291, allocations: 0 / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3291, allocations: 8.969 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.3295, allocations: 391.4 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3295, allocations: 3.984 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.3296, allocations: 12.31 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3296, allocations: 3.938 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3296, allocations: 2.375 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3296, allocations: 1.031 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3296, allocations: 4.312 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.3298, allocations: 209.6 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3299, allocations: 88.17 kB / 0.5371 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3299, allocations: 5.594 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.33, allocations: 10.31 kB / 0.5371 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.33, allocations: 7.578 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.33, allocations: 2.812 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3302, allocations: 167 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3302, allocations: 0 / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3305, allocations: 20.88 kB / 0.5373 GB, free: 7.637 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.001367/0.3318, allocations: 1.093 MB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.332, allocations: 57.09 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.332, allocations: 1.156 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.3321, allocations: 41.2 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3324, allocations: 20.98 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3342, allocations: 1.688 MB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3345, allocations: 0.7146 MB / 0.5409 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.3345, allocations: 18.2 kB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.3346, allocations: 39.02 kB / 0.5409 GB, free: 4.508 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3346, allocations: 0 / 0.5409 GB, free: 4.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3544, allocations: 3.509 MB / 0.5443 GB, free: 2.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.903, allocations: 1.297 kB / 0.5443 GB, free: 2.625 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches