Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.004657/0.004658, allocations: 100.4 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.001193/0.001193, allocations: 192.5 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.231/1.231, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.2757/0.2757, allocations: 43.5 MB / 313.5 MB, free: 8.273 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.001901/0.001901, allocations: 67.91 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002366/0.113, allocations: 1.717 MB / 441.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.114, allocations: 0.7729 MB / 442.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.1141, allocations: 3.938 kB / 442.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1143, allocations: 55.86 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1145, allocations: 51.81 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.1147, allocations: 83.78 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1148, allocations: 87.77 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.1149, allocations: 11.98 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.1149, allocations: 43.77 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.115, allocations: 39.78 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.115, allocations: 7.984 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.1151, allocations: 31.98 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.1152, allocations: 15.92 kB / 442.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1152, allocations: 27.81 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1153, allocations: 95.92 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1153, allocations: 3.938 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1154, allocations: 4 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.1154, allocations: 0 / 443 MB, free: 11.43 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.0004138/0.1158, allocations: 410.9 kB / 443.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1158, allocations: 15.97 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1159, allocations: 30.75 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1159, allocations: 8.844 kB / 443.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1161, allocations: 212 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1161, allocations: 4.375 kB / 443.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1161, allocations: 7.938 kB / 443.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1162, allocations: 53.66 kB / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1163, allocations: 0 / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1163, allocations: 0 / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1163, allocations: 0 / 443.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.25e-05/0.1163, allocations: 19.92 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1165, allocations: 177.7 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1166, allocations: 54.56 kB / 443.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.1167, allocations: 20.84 kB / 444 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1167, allocations: 4 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.1169, allocations: 63.39 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1169, allocations: 0 / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002353/0.1171, allocations: 93.52 kB / 444.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1172, allocations: 59.41 kB / 444.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1173, allocations: 186.1 kB / 444.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1173, allocations: 25.7 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.1174, allocations: 100.1 kB / 444.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1174, allocations: 11.91 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1174, allocations: 17.72 kB / 444.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.1175, allocations: 322.8 kB / 444.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.1176, allocations: 15.98 kB / 444.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.1176, allocations: 29.7 kB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.1177, allocations: 45.66 kB / 444.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1178, allocations: 4.188 kB / 444.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001379/0.1179, allocations: 85.52 kB / 445 MB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1179, allocations: 4 kB / 445 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1179, allocations: 4 kB / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/0.1179, allocations: 7.969 kB / 445 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.118, allocations: 8 kB / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.118, allocations: 0 / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1181, allocations: 15.89 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1181, allocations: 4 kB / 445 MB, free: 9.109 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 7.751e-05/0.1182, allocations: 125.7 kB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1182, allocations: 11.84 kB / 445.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.1182, allocations: 16.3 kB / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1182, allocations: 0 / 445.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1182, allocations: 4 kB / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1182, allocations: 0 / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1184, allocations: 185.6 kB / 445.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1184, allocations: 0 / 445.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.1184, allocations: 7.938 kB / 445.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1184, allocations: 0 / 445.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1184, allocations: 3.984 kB / 445.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1184, allocations: 0 / 445.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1184, allocations: 4 kB / 445.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1186, allocations: 113 kB / 445.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1186, allocations: 84.92 kB / 445.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1187, allocations: 4 kB / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.1187, allocations: 0 / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.1187, allocations: 7.984 kB / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1187, allocations: 0 / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.1188, allocations: 140.1 kB / 445.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1189, allocations: 0 / 445.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1191, allocations: 23.98 kB / 445.8 MB, free: 8.301 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.001151/0.1202, allocations: 0.9647 MB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1204, allocations: 39.98 kB / 446.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1204, allocations: 3.938 kB / 446.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.1204, allocations: 20.06 kB / 446.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1207, allocations: 27.25 kB / 446.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.122, allocations: 1.487 MB / 448.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.1222, allocations: 0.6926 MB / 449 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.1222, allocations: 20.39 kB / 449 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.1223, allocations: 31.42 kB / 449 MB, free: 4.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1223, allocations: 0 / 449 MB, free: 4.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.134, allocations: 2.831 MB / 451.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.1342, allocations: 234.4 kB / 452.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/1.7, allocations: 0 / 452.1 MB, free: 1.805 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches