Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001183/0.001183, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 204.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2753/0.2753, allocations: 43.5 MB / 313.5 MB, free: 8.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.89 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08977, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002858/0.09268, allocations: 1.912 MB / 441.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.094, allocations: 0.8781 MB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.09408, allocations: 3.938 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.09453, allocations: 251.5 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.09479, allocations: 167.5 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.09511, allocations: 143.7 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.09535, allocations: 231.3 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.09546, allocations: 25.53 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.0956, allocations: 111.6 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.09578, allocations: 179.4 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.09581, allocations: 4 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.09591, allocations: 43.97 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.09599, allocations: 59.77 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.09608, allocations: 91.22 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.0963, allocations: 215.5 kB / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09631, allocations: 0 / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.09632, allocations: 0 / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.09633, allocations: 0 / 444.2 MB, free: 10.44 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006021/0.09694, allocations: 0.5602 MB / 444.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.09697, allocations: 12.03 kB / 444.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.09701, allocations: 34.75 kB / 444.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.09706, allocations: 36.5 kB / 444.8 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.09732, allocations: 288 kB / 445.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.09734, allocations: 4.375 kB / 445.1 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.09736, allocations: 7.938 kB / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.09756, allocations: 95.36 kB / 445.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.09758, allocations: 3.984 kB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.0976, allocations: 8 kB / 445.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.09761, allocations: 3.984 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.09773, allocations: 39.91 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.09818, allocations: 452.9 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.09846, allocations: 117.3 kB / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.09856, allocations: 37.7 kB / 445.9 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.09859, allocations: 4 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.09882, allocations: 120.9 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.09883, allocations: 0 / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007936/0.09963, allocations: 371.7 kB / 446.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.09968, allocations: 89.05 kB / 446.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.1001, allocations: 481.6 kB / 446.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1001, allocations: 33.7 kB / 447 MB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.1002, allocations: 160.3 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1002, allocations: 47.44 kB / 447.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.1003, allocations: 37.7 kB / 447.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1004, allocations: 338.8 kB / 447.5 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1005, allocations: 43.97 kB / 447.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1006, allocations: 72.17 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1008, allocations: 119.3 kB / 447.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1008, allocations: 0 / 447.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002974/0.1011, allocations: 201.3 kB / 448 MB, free: 6.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1012, allocations: 4 kB / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1012, allocations: 0 / 448 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1012, allocations: 4 kB / 448 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1013, allocations: 35.92 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1013, allocations: 4 kB / 448 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.1014, allocations: 11.94 kB / 448 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1014, allocations: 4 kB / 448 MB, free: 6.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001376/0.1016, allocations: 185.7 kB / 448.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.1016, allocations: 27.62 kB / 448.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.1017, allocations: 34.81 kB / 448.3 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1017, allocations: 7.938 kB / 448.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1017, allocations: 0 / 448.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1017, allocations: 0 / 448.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.1023, allocations: 0.632 MB / 448.9 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1024, allocations: 7.938 kB / 448.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.1024, allocations: 15.98 kB / 448.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1024, allocations: 4 kB / 448.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1024, allocations: 4 kB / 448.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1025, allocations: 7.875 kB / 448.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1025, allocations: 0 / 448.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1028, allocations: 372.1 kB / 449.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1029, allocations: 104.7 kB / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1029, allocations: 0 / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.103, allocations: 8 kB / 449.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1031, allocations: 19.91 kB / 449.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1031, allocations: 12 kB / 449.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.1034, allocations: 359.1 kB / 449.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1034, allocations: 0 / 449.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1037, allocations: 39.98 kB / 449.8 MB, free: 4.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001426/0.1052, allocations: 1.27 MB / 451.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1054, allocations: 111.9 kB / 451.2 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1054, allocations: 0 / 451.2 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1055, allocations: 60.38 kB / 451.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.106, allocations: 69.27 kB / 451.3 MB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/0.24, allocations: 2.811 MB / 454.1 MB, free: 48.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.2403, allocations: 0.7672 MB / 454.9 MB, free: 47.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2404, allocations: 33.12 kB / 454.9 MB, free: 47.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2405, allocations: 89.94 kB / 455 MB, free: 47.73 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2405, allocations: 1.156 kB / 455 MB, free: 47.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.254, allocations: 5.621 MB / 460.7 MB, free: 47.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.2542, allocations: 241 kB / 460.9 MB, free: 46.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.902, allocations: 6.75 kB / 460.9 MB, free: 46.92 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches