Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 117.6 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.001938/0.001938, allocations: 200.7 kB / 18.74 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.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4039, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003048/0.407, allocations: 1.736 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4087, allocations: 1.017 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.4088, allocations: 1.375 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.409, allocations: 41.39 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.4094, allocations: 100.4 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.4096, allocations: 78.86 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4098, allocations: 105 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.4099, allocations: 10.88 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.41, allocations: 44.28 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.41, allocations: 34.78 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.4101, allocations: 4.031 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4102, allocations: 39.45 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.4102, allocations: 26.61 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.4103, allocations: 36.36 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.4105, allocations: 121.3 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4105, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4105, allocations: 1.312 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.4106, allocations: 4 kB / 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.0005458/0.4111, allocations: 424 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4112, allocations: 10.47 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.4112, allocations: 39.98 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.4113, allocations: 9.422 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4116, allocations: 220.6 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4116, allocations: 2.875 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4116, allocations: 9.25 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4118, allocations: 54.92 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4118, allocations: 4 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4118, allocations: 0 / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4118, allocations: 1 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.4119, allocations: 19.08 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.4123, allocations: 294.3 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.4125, allocations: 62.52 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.4126, allocations: 17.52 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.4126, allocations: 1.062 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.4128, allocations: 68.7 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4128, allocations: 0 / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.4133, allocations: 170.7 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.4134, allocations: 60.62 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.4136, allocations: 201.4 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.4137, allocations: 25.7 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.4137, allocations: 102.3 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.4138, allocations: 27.41 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.4138, allocations: 24.81 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.414, allocations: 321.5 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.414, allocations: 31.86 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.4141, allocations: 34.33 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4142, allocations: 59.77 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4142, allocations: 3.984 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.4144, allocations: 104.2 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4145, allocations: 5.5 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4145, allocations: 192 / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4145, allocations: 5.406 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.4146, allocations: 24.23 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4146, allocations: 1.375 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.4147, allocations: 6.688 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4147, allocations: 2.75 kB / 0.5363 GB, free: 8.625 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.0001131/0.4148, allocations: 127.5 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.4148, allocations: 13.41 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.4149, allocations: 13.53 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4149, allocations: 5.375 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.4149, allocations: 1.375 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4149, allocations: 7.922 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.4154, allocations: 390.6 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4154, allocations: 0 / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.4154, allocations: 8.25 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4154, allocations: 3.938 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4154, allocations: 10.73 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4155, allocations: 0 / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4155, allocations: 9 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.4157, allocations: 192.7 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4158, allocations: 88.39 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.4158, allocations: 10.19 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.4159, allocations: 1.125 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4159, allocations: 8.391 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.4159, allocations: 11.3 kB / 0.5371 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4161, allocations: 148.4 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 0 / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000257/0.4163, allocations: 25.25 kB / 0.5373 GB, free: 7.668 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.001448/0.4178, allocations: 1.106 MB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.418, allocations: 54.92 kB / 0.5384 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.418, allocations: 64 / 0.5384 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.4181, allocations: 32.86 kB / 0.5384 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4185, allocations: 25.56 kB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4204, allocations: 1.649 MB / 0.5401 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4207, allocations: 0.7101 MB / 0.5408 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.4208, allocations: 17.8 kB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.4208, allocations: 35.27 kB / 0.5408 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4208, allocations: 3.938 kB / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.4428, allocations: 3.452 MB / 0.5442 GB, free: 2.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.819, allocations: 9.359 kB / 0.5442 GB, free: 2.688 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_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_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches