Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.0009142/0.0009142, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 181.2 kB / 16.92 MB, free: 6.922 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.455/1.455, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3587/0.3587, allocations: 43.57 MB / 315 MB, free: 9.035 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.00049/0.00049, allocations: 19.94 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002181/0.1167, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.118, allocations: 0.773 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.1181, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1184, allocations: 35.84 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1185, allocations: 39.83 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1188, allocations: 79.84 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1189, allocations: 87.69 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.1191, allocations: 20.22 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.1191, allocations: 35.78 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1192, allocations: 27.86 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1192, allocations: 0 / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1194, allocations: 47.91 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.1194, allocations: 15.92 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1195, allocations: 57.45 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1197, allocations: 107.9 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1197, allocations: 4 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1197, allocations: 0 / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1197, allocations: 0 / 446.3 MB, free: 10.05 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.0004781/0.1202, allocations: 383.2 kB / 446.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1202, allocations: 12.03 kB / 446.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1203, allocations: 38.69 kB / 446.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1203, allocations: 8.844 kB / 446.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1205, allocations: 208.4 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1205, allocations: 4 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1206, allocations: 8 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1207, allocations: 53.67 kB / 447 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1207, allocations: 0 / 447 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1208, allocations: 0 / 447 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1208, allocations: 0 / 447 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.1208, allocations: 23.92 kB / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1212, allocations: 292.7 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1214, allocations: 58.67 kB / 447.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.1215, allocations: 20.86 kB / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1215, allocations: 0 / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.1217, allocations: 67.33 kB / 447.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.1217, allocations: 3.984 kB / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00052/0.1222, allocations: 173.3 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1223, allocations: 59.34 kB / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1224, allocations: 154.4 kB / 447.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1224, allocations: 29.7 kB / 447.9 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.1225, allocations: 96.12 kB / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1225, allocations: 23.66 kB / 448 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1226, allocations: 21.7 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1227, allocations: 326.8 kB / 448.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.1228, allocations: 16 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.1228, allocations: 37.7 kB / 448.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.123, allocations: 61.62 kB / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.123, allocations: 0 / 448.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.1232, allocations: 101.5 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1232, allocations: 4.219 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1232, allocations: 7.938 kB / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1232, allocations: 7.922 kB / 448.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1233, allocations: 19.94 kB / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1234, allocations: 0 / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1234, allocations: 0 / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1234, allocations: 8 kB / 448.6 MB, free: 7.52 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 0.0001241/0.1236, allocations: 125.8 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1236, allocations: 7.906 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.1236, allocations: 24.59 kB / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1236, allocations: 3.984 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1237, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1237, allocations: 4 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.1241, allocations: 391.3 kB / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1241, allocations: 0 / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1242, allocations: 8 kB / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1242, allocations: 0 / 449.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1242, allocations: 4.031 kB / 449.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1242, allocations: 7.938 kB / 449.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1242, allocations: 0 / 449.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1245, allocations: 204.8 kB / 449.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1246, allocations: 88.91 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1246, allocations: 4 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1247, allocations: 16 kB / 449.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1247, allocations: 3.984 kB / 449.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1247, allocations: 4 kB / 449.4 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1248, allocations: 127.9 kB / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1251, allocations: 23.98 kB / 449.6 MB, free: 6.387 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.001573/0.1267, allocations: 1.098 MB / 450.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1269, allocations: 63.91 kB / 450.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1269, allocations: 0 / 450.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.127, allocations: 24 kB / 450.8 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1273, allocations: 31.91 kB / 450.8 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1292, allocations: 1.588 MB / 452.4 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1296, allocations: 0.7004 MB / 453.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.1297, allocations: 25.11 kB / 453.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.1297, allocations: 35.42 kB / 453.2 MB, free: 2.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1297, allocations: 0 / 453.2 MB, free: 2.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/0.36, allocations: 2.812 MB / 456 MB, free: 45.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.3603, allocations: 229.6 kB / 456.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.27, allocations: 0.5 kB / 456.2 MB, free: 45.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches