Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 202 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.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 76.09 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3655, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002897/0.3684, allocations: 1.727 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.3712, allocations: 1.639 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.3713, allocations: 3.938 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.3716, allocations: 33.28 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.3721, allocations: 100.7 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3724, allocations: 74.89 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.3727, allocations: 106.4 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3728, allocations: 10.22 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3729, allocations: 54.19 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3731, allocations: 42.95 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3732, allocations: 4.125 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.3735, allocations: 115 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.3735, allocations: 17.42 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.3736, allocations: 32.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.374, allocations: 174.3 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.374, allocations: 0 / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.374, allocations: 0 / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3741, allocations: 1.375 kB / 0.5346 GB, free: 10.27 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.000739/0.3748, allocations: 434.2 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3749, allocations: 9.625 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.3749, allocations: 30.75 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.375, allocations: 14.34 kB / 0.5351 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.3754, allocations: 211.6 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3754, allocations: 5.312 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.3755, allocations: 2.75 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3757, allocations: 77.12 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3757, allocations: 1.375 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3758, allocations: 0 / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3758, allocations: 5.312 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3759, allocations: 17.61 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.3764, allocations: 281.5 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.3766, allocations: 65.86 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.3767, allocations: 22.47 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3767, allocations: 1.375 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.3769, allocations: 73.12 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.377, allocations: 3.938 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007357/0.3777, allocations: 168.8 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.3778, allocations: 90.16 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3781, allocations: 164.1 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3781, allocations: 26.7 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.3782, allocations: 100.7 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3783, allocations: 31.36 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.3783, allocations: 21.28 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3785, allocations: 321.8 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/0.3786, allocations: 26.23 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3787, allocations: 41.53 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3789, allocations: 59.52 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3789, allocations: 0 / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003114/0.3793, allocations: 98.62 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3793, allocations: 5.75 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3793, allocations: 5.188 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3793, allocations: 1.281 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3795, allocations: 24.42 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3795, allocations: 1.125 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.3796, allocations: 6.25 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3796, allocations: 2.375 kB / 0.537 GB, free: 8.008 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.0001293/0.3797, allocations: 124.2 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3798, allocations: 9.766 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3798, allocations: 12.22 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3799, allocations: 9.031 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3799, allocations: 1.188 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3799, allocations: 0 / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.3805, allocations: 404.6 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3806, allocations: 3.938 kB / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3806, allocations: 12.27 kB / 0.5375 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3806, allocations: 1.219 kB / 0.5375 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3807, allocations: 5.094 kB / 0.5375 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3807, allocations: 5.594 kB / 0.5375 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3807, allocations: 1.031 kB / 0.5375 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.381, allocations: 203.6 kB / 0.5377 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.3811, allocations: 92.42 kB / 0.5378 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.3812, allocations: 5.156 kB / 0.5378 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3813, allocations: 2.062 kB / 0.5378 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.3814, allocations: 16.14 kB / 0.5378 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3814, allocations: 3.75 kB / 0.5378 GB, free: 7.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3816, allocations: 127 kB / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3816, allocations: 0 / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000528/0.3821, allocations: 45.73 kB / 0.538 GB, free: 7.043 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.002488/0.3846, allocations: 1.186 MB / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3849, allocations: 58.19 kB / 0.5392 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.385, allocations: 1.375 kB / 0.5392 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3851, allocations: 28.5 kB / 0.5392 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3857, allocations: 37.12 kB / 0.5393 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.388, allocations: 1.58 MB / 0.5408 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3883, allocations: 0.7034 MB / 0.5415 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.603e-05/0.3884, allocations: 24.61 kB / 0.5415 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.3885, allocations: 41.02 kB / 0.5416 GB, free: 3.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3885, allocations: 3.938 kB / 0.5416 GB, free: 3.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.4125, allocations: 4.013 MB / 0.5455 GB, free: 1.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.051, allocations: 8.547 kB / 0.5455 GB, free: 1.684 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_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_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches