Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.14 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3175, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003042/0.3206, allocations: 1.666 MB / 0.5201 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.322, allocations: 0.8454 MB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.3221, allocations: 4.969 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.3224, allocations: 55.58 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3227, allocations: 66.22 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3229, allocations: 110.9 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3231, allocations: 99.91 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3232, allocations: 8.766 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.3233, allocations: 47.36 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3234, allocations: 44.23 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3234, allocations: 2.75 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.3235, allocations: 37.84 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.3236, allocations: 17.7 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.3236, allocations: 29.31 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3238, allocations: 103.6 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3239, allocations: 0 / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3239, allocations: 0 / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3239, allocations: 0 / 0.5216 GB, free: 1.27 MB / 382.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.0004948/0.3244, allocations: 408.1 kB / 0.5219 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3244, allocations: 10.06 kB / 0.522 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.3245, allocations: 32.23 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3245, allocations: 10.16 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3247, allocations: 213.5 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3247, allocations: 1.375 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3247, allocations: 6.188 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3249, allocations: 46.56 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3249, allocations: 0 / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3249, allocations: 5.906 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3249, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.325, allocations: 14.88 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.3251, allocations: 179.6 kB / 0.5224 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3253, allocations: 60.83 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.3254, allocations: 18.83 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3254, allocations: 1.125 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3255, allocations: 68.95 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3255, allocations: 0 / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002613/0.3258, allocations: 107.8 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3258, allocations: 53.14 kB / 0.5227 GB, free: 112 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.326, allocations: 189.7 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3261, allocations: 27.31 kB / 0.5229 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3261, allocations: 99.12 kB / 0.523 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3261, allocations: 19.31 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3262, allocations: 20.58 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3263, allocations: 325.7 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.3264, allocations: 13.67 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.3264, allocations: 26.22 kB / 0.5234 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.3265, allocations: 46.38 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3266, allocations: 3.938 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.3267, allocations: 76.8 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3268, allocations: 9.938 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3268, allocations: 0 / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3268, allocations: 1.891 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.3269, allocations: 14.62 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3269, allocations: 0.6094 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3269, allocations: 7.875 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3269, allocations: 2.125 kB / 0.5236 GB, free: 15.38 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.000107/0.3271, allocations: 131.3 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3271, allocations: 12.95 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.3271, allocations: 18.86 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3271, allocations: 1.25 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3272, allocations: 0.7031 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3272, allocations: 3.984 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.3273, allocations: 185.7 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3273, allocations: 3.938 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.3274, allocations: 4.406 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3274, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3274, allocations: 2.281 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3274, allocations: 1.797 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.3274, allocations: 11.94 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.3276, allocations: 108.6 kB / 0.524 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3277, allocations: 84.64 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3277, allocations: 2.297 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.3277, allocations: 2.406 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3278, allocations: 3.172 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3278, allocations: 3.719 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3279, allocations: 143.3 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3279, allocations: 0 / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3281, allocations: 22.14 kB / 0.5243 GB, free: 14.72 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001269/0.3294, allocations: 0.953 MB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.3296, allocations: 45.38 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3296, allocations: 0 / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.3297, allocations: 26.3 kB / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.3299, allocations: 30.28 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3315, allocations: 1.489 MB / 0.5268 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3318, allocations: 0.7015 MB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.3318, allocations: 12.98 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.3319, allocations: 34.02 kB / 0.5275 GB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3319, allocations: 0 / 0.5275 GB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.351, allocations: 3.051 MB / 0.5305 GB, free: 10.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.451, allocations: 20.78 kB / 0.5305 GB, free: 10.73 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches