Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001595/0.001602, 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.001563/0.001563, 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.214/0.214, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.86 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003129/0.3593, allocations: 1.705 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3606, allocations: 0.8715 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.3607, allocations: 1.125 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.361, allocations: 41.83 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3612, allocations: 56.58 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3615, allocations: 108.8 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3617, allocations: 96.16 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.3617, allocations: 12.56 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.3618, allocations: 40.3 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.3619, allocations: 38.3 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3619, allocations: 3.688 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.362, allocations: 38.7 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.3621, allocations: 22.94 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.3621, allocations: 38.12 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3624, allocations: 117 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3624, allocations: 4 kB / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3624, allocations: 0 / 0.5216 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3624, allocations: 0 / 0.5216 GB, free: 1.223 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.0004431/0.3628, allocations: 420.5 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3629, allocations: 10.33 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.3629, allocations: 32.81 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.363, allocations: 9.328 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3632, allocations: 211.9 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3632, allocations: 5.594 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3632, allocations: 15.7 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3633, allocations: 53.95 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3634, allocations: 0 / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3634, allocations: 0.75 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3634, allocations: 0.875 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3635, allocations: 18.75 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3638, allocations: 291.2 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.364, allocations: 60.34 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.3641, allocations: 19.78 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3641, allocations: 1.703 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.3643, allocations: 66.5 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3643, allocations: 4 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.3648, allocations: 180.2 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3649, allocations: 57.36 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3651, allocations: 200.6 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3651, allocations: 30.77 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.3652, allocations: 102 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.3652, allocations: 25.08 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3653, allocations: 21.86 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3654, allocations: 330.1 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.3655, allocations: 21.91 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.3656, allocations: 43.05 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3657, allocations: 57.5 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3657, allocations: 1.75 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.3659, allocations: 109.9 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.366, allocations: 8.312 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.366, allocations: 5.531 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.366, allocations: 0.7031 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3661, allocations: 18.72 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3661, allocations: 2.219 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.3662, allocations: 7.453 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3662, allocations: 3.547 kB / 0.524 GB, free: 15.14 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.0001116/0.3663, allocations: 128.9 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3663, allocations: 18.22 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.3664, allocations: 17.33 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3664, allocations: 1.125 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3664, allocations: 0 / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3664, allocations: 4.547 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.3669, allocations: 392 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3669, allocations: 1.062 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.367, allocations: 9.125 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.367, allocations: 8.5 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.367, allocations: 3.031 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.367, allocations: 1.219 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.367, allocations: 0 / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3673, allocations: 205.3 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3673, allocations: 84.89 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3674, allocations: 6.719 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.3674, allocations: 7.828 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3675, allocations: 8.469 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3675, allocations: 4.062 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3677, allocations: 152.4 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3677, allocations: 0 / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.368, allocations: 24.95 kB / 0.525 GB, free: 14.25 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.002148/0.3701, allocations: 1.102 MB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3703, allocations: 64.92 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3703, allocations: 3.938 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.3704, allocations: 29.27 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3707, allocations: 40.52 kB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3728, allocations: 1.665 MB / 0.5278 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3732, allocations: 0.7026 MB / 0.5285 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.3733, allocations: 16.84 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.3734, allocations: 38.77 kB / 0.5286 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3734, allocations: 0 / 0.5286 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4, allocations: 3.43 MB / 0.5319 GB, free: 9.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.436, allocations: 7.594 kB / 0.5319 GB, free: 9.789 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches