Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001394/0.001394, 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.001467/0.001467, allocations: 179.1 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2279/0.2279, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3746, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002884/0.3775, allocations: 1.712 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3788, allocations: 0.8797 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.3789, allocations: 5.062 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3792, allocations: 73.84 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.3795, allocations: 75.06 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.3798, allocations: 110 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.38, allocations: 102.8 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.3801, allocations: 16.11 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.3802, allocations: 57.77 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.3803, allocations: 54.12 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3804, allocations: 4.188 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.3805, allocations: 41.7 kB / 0.5216 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.3805, allocations: 20.5 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.3806, allocations: 37.97 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3808, allocations: 121.6 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3808, allocations: 0.6094 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3808, allocations: 5.156 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.3808, allocations: 3.938 kB / 0.5217 GB, free: 1.203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005765/0.3814, allocations: 424.6 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3814, allocations: 10.88 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.418e-05/0.3814, allocations: 32.8 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3815, allocations: 13.95 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3817, allocations: 211.8 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3817, allocations: 2.531 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3817, allocations: 14.8 kB / 0.5224 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3819, allocations: 61.02 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3819, allocations: 1.625 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3819, allocations: 0.6562 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3819, allocations: 2 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.382, allocations: 24.66 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3824, allocations: 288.3 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3826, allocations: 65.03 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.3826, allocations: 18.94 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3827, allocations: 1.906 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.3828, allocations: 65.95 kB / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3828, allocations: 0 / 0.5229 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006951/0.3835, allocations: 178.5 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3836, allocations: 56.06 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3838, allocations: 214.4 kB / 0.5233 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3838, allocations: 26.86 kB / 0.5234 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3839, allocations: 108.9 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3839, allocations: 22.64 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.384, allocations: 21.52 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3841, allocations: 327.7 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.3842, allocations: 21 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.3843, allocations: 38.58 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3844, allocations: 62.33 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3845, allocations: 0 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002884/0.3848, allocations: 101.8 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3848, allocations: 6.734 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3848, allocations: 4.031 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3848, allocations: 2.875 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.3849, allocations: 14.89 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3849, allocations: 0 / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.385, allocations: 11.78 kB / 0.5241 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.385, allocations: 2.219 kB / 0.5241 GB, free: 15.12 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.000111/0.3851, allocations: 133 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3851, allocations: 13.55 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.3852, allocations: 22.2 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3852, allocations: 0.5625 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3852, allocations: 0 / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.3852, allocations: 7.422 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.3858, allocations: 394.2 kB / 0.5246 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3858, allocations: 6.125 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.3859, allocations: 12.34 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.3859, allocations: 5 kB / 0.5247 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3859, allocations: 6 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3859, allocations: 5.281 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3859, allocations: 1.984 kB / 0.5247 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3861, allocations: 200.4 kB / 0.5249 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.3862, allocations: 86.23 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3862, allocations: 10.14 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.3863, allocations: 2.109 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3864, allocations: 18.98 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3864, allocations: 3.516 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.3865, allocations: 155.3 kB / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3865, allocations: 1.219 kB / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3868, allocations: 25.69 kB / 0.5251 GB, free: 14.21 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.002299/0.3891, allocations: 1.094 MB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3893, allocations: 64.69 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3893, allocations: 4.062 kB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.3894, allocations: 32.56 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3898, allocations: 33.48 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.392, allocations: 1.696 MB / 0.528 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3924, allocations: 0.7076 MB / 0.5287 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.3925, allocations: 17.22 kB / 0.5287 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.3926, allocations: 36.38 kB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3926, allocations: 0 / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.4207, allocations: 3.484 MB / 0.5321 GB, free: 9.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.365, allocations: 8.703 kB / 0.5321 GB, free: 9.68 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches