Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001068/0.001068, allocations: 109.1 kB / 16.27 MB, free: 5.93 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.001233/0.001233, allocations: 191.1 kB / 17.2 MB, free: 5.574 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.564/1.564, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2068/0.2068, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001583/0.001584, allocations: 66.5 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003222/0.114, allocations: 1.829 MB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1154, allocations: 0.8935 MB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1155, allocations: 7.938 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.1159, allocations: 159.5 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1162, allocations: 135.5 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1167, allocations: 143.6 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1169, allocations: 219.4 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.117, allocations: 25.5 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1172, allocations: 95.61 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1173, allocations: 131.5 kB / 444.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1174, allocations: 4 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1175, allocations: 47.98 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.1176, allocations: 39.84 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.1177, allocations: 75.41 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.1181, allocations: 195.3 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1181, allocations: 8 kB / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1181, allocations: 0 / 444.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1181, allocations: 0 / 444.6 MB, free: 2.77 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006032/0.1187, allocations: 0.5059 MB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1188, allocations: 11.89 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1188, allocations: 42.73 kB / 445.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1189, allocations: 24.64 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1191, allocations: 267.5 kB / 445.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1191, allocations: 4.375 kB / 445.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1192, allocations: 11.94 kB / 445.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1194, allocations: 95.36 kB / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1194, allocations: 0 / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1194, allocations: 7.984 kB / 445.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1194, allocations: 4 kB / 445.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1195, allocations: 35.92 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1201, allocations: 452.8 kB / 446.1 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1204, allocations: 113.3 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.1205, allocations: 41.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1206, allocations: 4 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.1208, allocations: 116.9 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1208, allocations: 0 / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008327/0.1216, allocations: 364 kB / 446.7 MB, free: 496 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1217, allocations: 85.05 kB / 446.8 MB, free: 392 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.122, allocations: 355 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.122, allocations: 29.7 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1221, allocations: 132.4 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.1222, allocations: 51.34 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.1222, allocations: 33.72 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1224, allocations: 342.8 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1226, allocations: 47.92 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1227, allocations: 68.61 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1229, allocations: 127.5 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1229, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003229/0.1233, allocations: 177.2 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1233, allocations: 4 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1233, allocations: 4 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1233, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1235, allocations: 35.92 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1235, allocations: 0 / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.1236, allocations: 15.92 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1236, allocations: 8.062 kB / 448.2 MB, free: 14.92 MB / 334.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.0001449/0.1238, allocations: 157.7 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1239, allocations: 27.62 kB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.1239, allocations: 29.73 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1239, allocations: 7.938 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.124, allocations: 0.75 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.124, allocations: 3.984 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.1247, allocations: 0.6125 MB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1248, allocations: 0 / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.1248, allocations: 20 kB / 449 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1248, allocations: 3.984 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.1249, allocations: 11.98 kB / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1249, allocations: 11.88 kB / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1249, allocations: 0 / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1253, allocations: 363.7 kB / 449.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.1253, allocations: 92.83 kB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.1254, allocations: 8 kB / 449.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1256, allocations: 11.92 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.1256, allocations: 23.92 kB / 449.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.1257, allocations: 4 kB / 449.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000238/0.1259, allocations: 261.9 kB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1259, allocations: 0 / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.1262, allocations: 40 kB / 449.8 MB, free: 13.14 MB / 334.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.001711/0.128, allocations: 1.268 MB / 451.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1283, allocations: 115.9 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1284, allocations: 0 / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.1285, allocations: 67.84 kB / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.1291, allocations: 57.92 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.1322, allocations: 2.447 MB / 453.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1326, allocations: 0.7514 MB / 454.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.1327, allocations: 34.56 kB / 454.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1328, allocations: 75.41 kB / 454.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1328, allocations: 0 / 454.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1567, allocations: 5.315 MB / 460 MB, free: 2.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.754, allocations: 7.906 kB / 460 MB, free: 2.906 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches