Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 117.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.001169/0.001169, allocations: 200.6 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.366/1.366, 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.2398/0.2398, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 80.09 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4431, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003315/0.4464, allocations: 1.731 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.4491, allocations: 1.629 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4492, allocations: 0 / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.4496, allocations: 41.33 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.45, allocations: 104.4 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.4502, allocations: 74.94 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.4504, allocations: 114.5 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4505, allocations: 14.66 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.4506, allocations: 45.38 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.4508, allocations: 48.45 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4509, allocations: 5.625 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.4511, allocations: 114.9 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.4511, allocations: 26 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.4512, allocations: 36.88 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.4515, allocations: 173.4 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4515, allocations: 5.094 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4516, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4516, allocations: 0 / 0.5346 GB, free: 10.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007393/0.4523, allocations: 448.7 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4524, allocations: 9.844 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.4524, allocations: 31.94 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.4525, allocations: 14.52 kB / 0.5351 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.453, allocations: 217.2 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.453, allocations: 5.531 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4531, allocations: 7.25 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.4533, allocations: 77.06 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4533, allocations: 3.953 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4534, allocations: 5.219 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4534, allocations: 0 / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.4535, allocations: 28.08 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.4541, allocations: 297 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.4544, allocations: 69.91 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4545, allocations: 27.03 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.4546, allocations: 9.344 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.4548, allocations: 72.19 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.4549, allocations: 0 / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008817/0.4557, allocations: 197.1 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4558, allocations: 78.48 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4561, allocations: 177.9 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4561, allocations: 27.08 kB / 0.5364 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.4562, allocations: 104.2 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.4563, allocations: 33.23 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.4564, allocations: 28.53 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4565, allocations: 323 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.4566, allocations: 24.36 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4568, allocations: 52.41 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.457, allocations: 80.28 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.457, allocations: 3.938 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003443/0.4574, allocations: 118 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4574, allocations: 5.688 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4574, allocations: 1.188 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4575, allocations: 0 / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.4576, allocations: 15.62 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4576, allocations: 1.531 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.4577, allocations: 14.05 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4578, allocations: 3.312 kB / 0.5371 GB, free: 7.938 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 (11): * Single equations (assignments): 11 * 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.0001484/0.4579, allocations: 128.3 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.458, allocations: 10.39 kB / 0.5373 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.4581, allocations: 17.08 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4581, allocations: 1.062 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4581, allocations: 0 / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4581, allocations: 4.906 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.4589, allocations: 422.8 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4589, allocations: 0 / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.459, allocations: 12.98 kB / 0.5377 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.459, allocations: 6.062 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.459, allocations: 1 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.459, allocations: 1.125 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.459, allocations: 1.188 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.4595, allocations: 219.7 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4596, allocations: 88.8 kB / 0.538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.4596, allocations: 9.094 kB / 0.538 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.4598, allocations: 6.562 kB / 0.538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.4599, allocations: 11.16 kB / 0.538 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4599, allocations: 4.656 kB / 0.538 GB, free: 7.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.4601, allocations: 126.5 kB / 0.5382 GB, free: 6.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4601, allocations: 1.062 kB / 0.5382 GB, free: 6.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005544/0.4607, allocations: 54.83 kB / 0.5382 GB, free: 6.953 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 (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.002694/0.4634, allocations: 1.202 MB / 0.5394 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4637, allocations: 68.52 kB / 0.5395 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4638, allocations: 0 / 0.5395 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4639, allocations: 36.23 kB / 0.5395 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.4645, allocations: 32.91 kB / 0.5395 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.4673, allocations: 1.648 MB / 0.5411 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4677, allocations: 0.7042 MB / 0.5418 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.4679, allocations: 25.64 kB / 0.5418 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.468, allocations: 43.41 kB / 0.5419 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.468, allocations: 0 / 0.5419 GB, free: 3.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.4909, allocations: 4.17 MB / 0.546 GB, free: 1.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.025, allocations: 11.33 kB / 0.546 GB, free: 1.48 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches