Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.008442/0.008442, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001738/0.001738, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.425/1.425, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.3148/0.3148, allocations: 43.49 MB / 313.5 MB, free: 8.504 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.001339/0.001339, allocations: 67.91 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09647, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002578/0.09909, allocations: 1.721 MB / 441.6 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1001, allocations: 0.7729 MB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1002, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1005, allocations: 47.86 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1006, allocations: 51.81 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1008, allocations: 75.84 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1009, allocations: 91.75 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.101, allocations: 11.98 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.1011, allocations: 39.73 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.1011, allocations: 31.83 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1012, allocations: 0 / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.1012, allocations: 28 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1013, allocations: 31.84 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.1013, allocations: 39.67 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1015, allocations: 115.8 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1015, allocations: 4 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1015, allocations: 3.938 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1015, allocations: 0 / 443 MB, free: 11.65 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.0004359/0.102, allocations: 430.7 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.102, allocations: 8.031 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.102, allocations: 34.75 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1021, allocations: 16.78 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1023, allocations: 211.8 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1023, allocations: 8.375 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1023, allocations: 7.938 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1024, allocations: 53.61 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1025, allocations: 0 / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1025, allocations: 0 / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1025, allocations: 0 / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.1025, allocations: 19.98 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1027, allocations: 189.7 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1029, allocations: 58.56 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.1029, allocations: 24.78 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1029, allocations: 3.984 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1031, allocations: 67.3 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1031, allocations: 0 / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002557/0.1034, allocations: 93.58 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1034, allocations: 59.34 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1036, allocations: 255.7 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1036, allocations: 29.7 kB / 444.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1037, allocations: 112.1 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1037, allocations: 7.812 kB / 444.6 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1038, allocations: 21.7 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.1039, allocations: 330.8 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.1039, allocations: 16 kB / 445 MB, free: 9.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.104, allocations: 25.7 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.732e-05/0.1041, allocations: 41.7 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1041, allocations: 7.938 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.1042, allocations: 81.44 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1042, allocations: 8 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1043, allocations: 4.031 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1043, allocations: 0 / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1043, allocations: 11.98 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1044, allocations: 0 / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1044, allocations: 12.25 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1044, allocations: 11.88 kB / 445.2 MB, free: 9.184 MB / 382.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 8.581e-05/0.1045, allocations: 129.8 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1045, allocations: 15.81 kB / 445.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1046, allocations: 24.92 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1046, allocations: 8 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1046, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1046, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1047, allocations: 197.6 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1047, allocations: 0 / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.1048, allocations: 4 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1048, allocations: 0 / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1048, allocations: 4 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1048, allocations: 0 / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1048, allocations: 0 / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.105, allocations: 120.8 kB / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.105, allocations: 85.02 kB / 445.8 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.105, allocations: 3.984 kB / 445.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.1051, allocations: 4 kB / 445.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1051, allocations: 0 / 445.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1051, allocations: 8 kB / 445.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1053, allocations: 203 kB / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1053, allocations: 0 / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1055, allocations: 20 kB / 446 MB, free: 8.273 MB / 382.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.001116/0.1066, allocations: 0.9585 MB / 447 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1067, allocations: 39.92 kB / 447 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1067, allocations: 64 / 447 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.1068, allocations: 27.98 kB / 447 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1071, allocations: 27.95 kB / 447.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1085, allocations: 1.683 MB / 448.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.1087, allocations: 0.7121 MB / 449.5 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.1088, allocations: 8.562 kB / 449.5 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.1088, allocations: 39.42 kB / 449.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1089, allocations: 0 / 449.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.1205, allocations: 3.16 MB / 452.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.1208, allocations: 234.4 kB / 452.9 MB, free: 1.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.762, allocations: 0 / 452.9 MB, free: 1.242 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches