Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.005905/0.005905, allocations: 99.83 kB / 15.87 MB, free: 6.309 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.001284/0.001284, allocations: 193.8 kB / 16.79 MB, free: 6.238 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.926 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.3205/0.3205, allocations: 43.49 MB / 313.5 MB, free: 8.391 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.001367/0.001367, allocations: 68.47 kB / 382.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 57.78 MB / 439.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003292/0.1145, allocations: 1.749 MB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1163, allocations: 1.387 MB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1164, allocations: 0 / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1166, allocations: 31.89 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1168, allocations: 47.78 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.117, allocations: 83.89 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1172, allocations: 87.64 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.1173, allocations: 20.22 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.1174, allocations: 35.84 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1175, allocations: 39.77 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1176, allocations: 4 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1177, allocations: 55.97 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.1178, allocations: 15.94 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1178, allocations: 35.78 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.118, allocations: 115.9 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.118, allocations: 0 / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.118, allocations: 0 / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1181, allocations: 4 kB / 443.6 MB, free: 11.08 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.000556/0.1186, allocations: 411 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1187, allocations: 12.03 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1187, allocations: 38.73 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1188, allocations: 16.78 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.119, allocations: 196.2 kB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.119, allocations: 8.359 kB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.119, allocations: 7.938 kB / 444.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1192, allocations: 71.39 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1192, allocations: 3.906 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1192, allocations: 0 / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1192, allocations: 0 / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/0.1193, allocations: 19.98 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1196, allocations: 288.8 kB / 444.7 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1198, allocations: 62.67 kB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1199, allocations: 16.86 kB / 444.8 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1199, allocations: 0 / 444.8 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1201, allocations: 71.39 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1201, allocations: 3.938 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005194/0.1206, allocations: 165.3 kB / 445 MB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1207, allocations: 81.11 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1208, allocations: 157.7 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1209, allocations: 29.7 kB / 445.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1209, allocations: 92.14 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1209, allocations: 27.64 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.121, allocations: 21.72 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1211, allocations: 322.8 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.1212, allocations: 23.98 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.1212, allocations: 42.56 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1214, allocations: 61.64 kB / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1214, allocations: 0 / 445.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1215, allocations: 93.58 kB / 445.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1216, allocations: 12.06 kB / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1216, allocations: 0 / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1216, allocations: 3.938 kB / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.1217, allocations: 19.92 kB / 446 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1217, allocations: 4 kB / 446 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.1218, allocations: 12.22 kB / 446 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1218, allocations: 4 kB / 446 MB, free: 8.465 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 (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 9.727e-05/0.1219, allocations: 121.8 kB / 446.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1219, allocations: 16.08 kB / 446.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.122, allocations: 16.72 kB / 446.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.122, allocations: 3.938 kB / 446.1 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.122, allocations: 0 / 446.1 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.122, allocations: 3.938 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.1224, allocations: 395.5 kB / 446.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1224, allocations: 0 / 446.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1225, allocations: 8 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1225, allocations: 7.969 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1225, allocations: 4 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1225, allocations: 0 / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1225, allocations: 3.938 kB / 446.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1228, allocations: 200.3 kB / 446.7 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1228, allocations: 85.02 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1229, allocations: 7.938 kB / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1229, allocations: 8 kB / 446.8 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.123, allocations: 7.984 kB / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.123, allocations: 0 / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.664e-05/0.1231, allocations: 122.5 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1234, allocations: 28 kB / 447 MB, free: 7.348 MB / 382.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.001486/0.1249, allocations: 1.141 MB / 448.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.125, allocations: 63.89 kB / 448.2 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1251, allocations: 0 / 448.2 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1251, allocations: 24 kB / 448.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1255, allocations: 35.97 kB / 448.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.127, allocations: 1.568 MB / 449.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1272, allocations: 0.7004 MB / 450.5 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.325e-05/0.1273, allocations: 12.88 kB / 450.5 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1274, allocations: 39.41 kB / 450.6 MB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1274, allocations: 0 / 450.6 MB, free: 3.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1415, allocations: 3.283 MB / 453.9 MB, free: 356 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.1417, allocations: 243 kB / 454.1 MB, free: 88 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.787, allocations: 0 / 454.1 MB, free: 88 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches