Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001211/0.001211, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001298/0.001298, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2087/0.2087, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 71.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.344, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002785/0.3468, allocations: 1.723 MB / 0.5202 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3481, allocations: 0.8733 MB / 0.5211 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3482, allocations: 4.906 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.3486, allocations: 105.2 kB / 0.5212 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.3489, allocations: 88.8 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3493, allocations: 110.4 kB / 0.5214 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.3496, allocations: 129.8 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3497, allocations: 18.28 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3498, allocations: 62.67 kB / 0.5216 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3499, allocations: 66.36 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3499, allocations: 4.531 kB / 0.5216 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3501, allocations: 60.62 kB / 0.5217 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3501, allocations: 28.2 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.3502, allocations: 51.03 kB / 0.5218 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3505, allocations: 152.8 kB / 0.5219 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3505, allocations: 0 / 0.5219 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3505, allocations: 0 / 0.5219 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3505, allocations: 1.375 kB / 0.5219 GB, free: 1.156 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004851/0.351, allocations: 458.1 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.351, allocations: 9.375 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.3511, allocations: 33.41 kB / 0.5224 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3511, allocations: 15.72 kB / 0.5224 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.3514, allocations: 226.4 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3514, allocations: 6.625 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3514, allocations: 7.047 kB / 0.5226 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3516, allocations: 67.02 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3516, allocations: 0 / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3516, allocations: 4 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3516, allocations: 2.172 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.3517, allocations: 39.33 kB / 0.5227 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.3521, allocations: 319 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3523, allocations: 68.53 kB / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.3524, allocations: 38.95 kB / 0.5231 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3525, allocations: 6.719 kB / 0.5231 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3526, allocations: 71.94 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3526, allocations: 0 / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008556/0.3535, allocations: 267.2 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3536, allocations: 61.3 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3538, allocations: 244.4 kB / 0.5238 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3538, allocations: 30.8 kB / 0.5238 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.3539, allocations: 115 kB / 0.5239 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.354, allocations: 41.19 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.354, allocations: 34.62 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3541, allocations: 328.4 kB / 0.5243 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.3542, allocations: 33.77 kB / 0.5243 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.3543, allocations: 58.11 kB / 0.5244 GB, free: 15.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3545, allocations: 94.77 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3545, allocations: 0 / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002346/0.3547, allocations: 147 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3548, allocations: 6.469 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3548, allocations: 1.734 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3548, allocations: 5.094 kB / 0.5246 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.3549, allocations: 25.91 kB / 0.5246 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3549, allocations: 1.062 kB / 0.5246 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3549, allocations: 3.875 kB / 0.5246 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.355, allocations: 3.156 kB / 0.5246 GB, free: 14.92 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 (14): * Single equations (assignments): 14 * 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.0001147/0.3551, allocations: 145.7 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3551, allocations: 15.38 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.3552, allocations: 20.14 kB / 0.5248 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3552, allocations: 10.55 kB / 0.5248 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3552, allocations: 4 kB / 0.5248 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3552, allocations: 2.094 kB / 0.5248 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.3558, allocations: 472.2 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3558, allocations: 0.5625 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.3559, allocations: 16.38 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.3559, allocations: 1.031 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3559, allocations: 3.031 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3559, allocations: 5.75 kB / 0.5253 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3559, allocations: 1.062 kB / 0.5253 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.3562, allocations: 253.8 kB / 0.5256 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3563, allocations: 94.33 kB / 0.5256 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3563, allocations: 7.125 kB / 0.5257 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.3564, allocations: 7.844 kB / 0.5257 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3565, allocations: 7.953 kB / 0.5257 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3565, allocations: 13.83 kB / 0.5257 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3567, allocations: 185.7 kB / 0.5259 GB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3567, allocations: 96 / 0.5259 GB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3569, allocations: 35.42 kB / 0.5259 GB, free: 13.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001619/0.3586, allocations: 1.188 MB / 0.527 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3588, allocations: 87.92 kB / 0.5271 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3588, allocations: 1.375 kB / 0.5271 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.3589, allocations: 42.8 kB / 0.5272 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3593, allocations: 37.47 kB / 0.5272 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.3616, allocations: 1.934 MB / 0.5291 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3619, allocations: 0.7252 MB / 0.5298 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.362, allocations: 26.41 kB / 0.5298 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.3621, allocations: 47.06 kB / 0.5299 GB, free: 10.78 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3621, allocations: 1.219 kB / 0.5299 GB, free: 10.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3871, allocations: 4.109 MB / 0.5339 GB, free: 8.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.185, allocations: 17.97 kB / 0.5339 GB, free: 8.781 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches