Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.001298/0.001298, allocations: 104.1 kB / 16.27 MB, free: 6.039 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.001283/0.001283, allocations: 187.6 kB / 17.19 MB, free: 5.684 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.667/1.667, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.228/0.228, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001486/0.001486, allocations: 74.05 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 57.78 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003918/0.12, allocations: 1.648 MB / 442.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1213, allocations: 0.7906 MB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1214, allocations: 0 / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1217, allocations: 55.75 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1219, allocations: 55.75 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1221, allocations: 79.78 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1223, allocations: 91.69 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.1223, allocations: 4.281 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.1224, allocations: 39.84 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.1225, allocations: 27.8 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1225, allocations: 4 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.1226, allocations: 31.98 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1227, allocations: 27.86 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.1227, allocations: 43.67 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1229, allocations: 111.6 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1229, allocations: 0 / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1229, allocations: 0 / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1229, allocations: 0 / 443.6 MB, free: 3.777 MB / 318.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.0005495/0.1235, allocations: 438.6 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1235, allocations: 11.89 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.1236, allocations: 38.75 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1236, allocations: 8.844 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1238, allocations: 223.4 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1239, allocations: 8.375 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1239, allocations: 3.938 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1241, allocations: 49.67 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1241, allocations: 4 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1241, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1241, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.1242, allocations: 15.98 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.1244, allocations: 185.6 kB / 444.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1246, allocations: 66.48 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1247, allocations: 16.86 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1247, allocations: 7.984 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.125, allocations: 59.39 kB / 444.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.125, allocations: 3.938 kB / 444.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000313/0.1253, allocations: 101.5 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1254, allocations: 51.41 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1256, allocations: 255.7 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1256, allocations: 29.7 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1257, allocations: 112.1 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1257, allocations: 15.75 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1257, allocations: 17.72 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1258, allocations: 334.8 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.1259, allocations: 16.19 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.126, allocations: 25.7 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.126, allocations: 53.64 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1261, allocations: 3.938 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001354/0.1262, allocations: 81.5 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1262, allocations: 8.031 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1262, allocations: 4.141 kB / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1263, allocations: 0 / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.1264, allocations: 15.94 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1264, allocations: 7.969 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1264, allocations: 4 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1264, allocations: 4 kB / 445.9 MB, free: 1.289 MB / 318.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 9.648e-05/0.1265, allocations: 141.2 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1266, allocations: 11.81 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.1266, allocations: 24.98 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1266, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1266, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1266, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1268, allocations: 205.5 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1268, allocations: 0 / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.1268, allocations: 4 kB / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1268, allocations: 0 / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1268, allocations: 0 / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1268, allocations: 0 / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1268, allocations: 0 / 446.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.127, allocations: 128.9 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.1271, allocations: 81.02 kB / 446.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1271, allocations: 4 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.1271, allocations: 3.984 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1272, allocations: 4 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1272, allocations: 4 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1273, allocations: 195.3 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 4 kB / 446.7 MB, free: 412 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1276, allocations: 23.92 kB / 446.7 MB, free: 388 kB / 318.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.001315/0.1289, allocations: 0.9604 MB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1291, allocations: 43.98 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1291, allocations: 4 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.1292, allocations: 19.92 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.1294, allocations: 29.95 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1312, allocations: 1.64 MB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1315, allocations: 0.7195 MB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.1316, allocations: 4.562 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.1316, allocations: 39.42 kB / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1316, allocations: 4 kB / 450.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.1517, allocations: 3.325 MB / 453.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.742, allocations: 15.94 kB / 453.5 MB, free: 9.508 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches