Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.91 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.12 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 65.47 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003322/0.3212, allocations: 1.707 MB / 0.5587 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.323, allocations: 1.03 MB / 0.5597 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.3231, allocations: 7.938 kB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.3235, allocations: 51.75 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3238, allocations: 91.61 kB / 0.5599 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.324, allocations: 83.66 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3242, allocations: 95.7 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.3243, allocations: 4.234 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3244, allocations: 51.77 kB / 0.5601 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.3245, allocations: 35.73 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3245, allocations: 4 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.3246, allocations: 27.98 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.3246, allocations: 31.91 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.3247, allocations: 39.69 kB / 0.5602 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3249, allocations: 125.2 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3249, allocations: 0 / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3249, allocations: 0 / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3249, allocations: 0 / 0.5604 GB, free: 4.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005965/0.3255, allocations: 373.2 kB / 0.5607 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.3256, allocations: 12.03 kB / 0.5607 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.3256, allocations: 34.75 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3257, allocations: 20.89 kB / 0.5608 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.326, allocations: 159.2 kB / 0.5609 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.326, allocations: 384 / 0.5609 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.326, allocations: 7.938 kB / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3261, allocations: 45.69 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3261, allocations: 3.984 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3262, allocations: 0 / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3262, allocations: 4 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.3262, allocations: 15.94 kB / 0.561 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.3264, allocations: 160.8 kB / 0.5612 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3266, allocations: 58.55 kB / 0.5612 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.3267, allocations: 16.86 kB / 0.5612 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3267, allocations: 0 / 0.5612 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3268, allocations: 67.33 kB / 0.5613 GB, free: 3.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3268, allocations: 4 kB / 0.5613 GB, free: 3.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002908/0.3271, allocations: 97.56 kB / 0.5614 GB, free: 3.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3272, allocations: 55.41 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3275, allocations: 271.8 kB / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3275, allocations: 29.7 kB / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.3276, allocations: 116.1 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3276, allocations: 11.84 kB / 0.5619 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3276, allocations: 29.7 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3278, allocations: 326.8 kB / 0.5622 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.3279, allocations: 12 kB / 0.5622 GB, free: 2.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.3279, allocations: 29.64 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.328, allocations: 45.7 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.328, allocations: 3.938 kB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.3282, allocations: 89.53 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3282, allocations: 6.812 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3282, allocations: 0 / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3282, allocations: 3.938 kB / 0.5624 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.3283, allocations: 19.98 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3283, allocations: 320 / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3284, allocations: 3.953 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3284, allocations: 8 kB / 0.5624 GB, free: 2.023 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 (7): * Single equations (assignments): 7 * 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.0001268/0.3285, allocations: 148.7 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3285, allocations: 11.91 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3288, allocations: 98.69 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3288, allocations: 0 / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3288, allocations: 0 / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3288, allocations: 0 / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.329, allocations: 176.6 kB / 0.5628 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.329, allocations: 0 / 0.5628 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.329, allocations: 4 kB / 0.5628 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.329, allocations: 0 / 0.5628 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.329, allocations: 0 / 0.5628 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.329, allocations: 4 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.329, allocations: 4 kB / 0.5628 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3292, allocations: 116.9 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3292, allocations: 11.91 kB / 0.563 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3292, allocations: 3.984 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.3293, allocations: 4 kB / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.3293, allocations: 0 / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3293, allocations: 11.98 kB / 0.563 GB, free: 1.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3295, allocations: 200.6 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3295, allocations: 0 / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00021/0.3297, allocations: 19.94 kB / 0.5632 GB, free: 1.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001986/0.3317, allocations: 0.957 MB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.3319, allocations: 39.97 kB / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3319, allocations: 0 / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.3319, allocations: 19.94 kB / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3322, allocations: 26.2 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.3341, allocations: 1.69 MB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3344, allocations: 0.7178 MB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.3345, allocations: 20.72 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/0.3346, allocations: 43.42 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3346, allocations: 0 / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.3626, allocations: 3.665 MB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 2.234 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.64565493400005]