Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.0007129/0.0007129, allocations: 97.72 kB / 16.02 MB, free: 84 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.0008895/0.0008895, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.445/1.445, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.3563/0.3563, allocations: 43.57 MB / 315 MB, free: 8.664 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.0005194/0.0005194, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 58.87 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001917/0.1189, allocations: 1.418 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1201, allocations: 0.773 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.1202, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1205, allocations: 75.83 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1207, allocations: 67.8 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.121, allocations: 75.84 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1212, allocations: 103.7 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.1213, allocations: 12.22 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1214, allocations: 51.66 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.1216, allocations: 55.81 kB / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1216, allocations: 0 / 446.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1217, allocations: 39.98 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.1218, allocations: 27.91 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.1218, allocations: 57.45 kB / 446.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.122, allocations: 123.8 kB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.122, allocations: 0 / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.122, allocations: 0 / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.122, allocations: 0 / 446.4 MB, free: 9.68 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.0005463/0.1226, allocations: 403.1 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1226, allocations: 8.031 kB / 446.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.1227, allocations: 34.75 kB / 446.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1227, allocations: 16.75 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.123, allocations: 208.8 kB / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.123, allocations: 4.375 kB / 447.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.123, allocations: 3.938 kB / 447.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1232, allocations: 57.61 kB / 447.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1232, allocations: 4 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1232, allocations: 0 / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1232, allocations: 0 / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.1233, allocations: 27.92 kB / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1237, allocations: 288.8 kB / 447.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1239, allocations: 58.61 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1239, allocations: 20.84 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.124, allocations: 4 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1242, allocations: 71.3 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1242, allocations: 0 / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.1247, allocations: 173.2 kB / 447.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1248, allocations: 55.41 kB / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.125, allocations: 214.3 kB / 448 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.125, allocations: 25.7 kB / 448.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.1251, allocations: 112.1 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1251, allocations: 27.64 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1251, allocations: 17.7 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1253, allocations: 322.8 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.1253, allocations: 20 kB / 448.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1254, allocations: 41.58 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1255, allocations: 61.7 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1255, allocations: 0 / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1257, allocations: 105.5 kB / 448.8 MB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1257, allocations: 8 kB / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1257, allocations: 80 / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1258, allocations: 0 / 448.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.1258, allocations: 12 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1259, allocations: 7.984 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1259, allocations: 7.922 kB / 448.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1259, allocations: 8.406 kB / 448.8 MB, free: 7.055 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.412e-05/0.126, allocations: 129.8 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.1261, allocations: 11.89 kB / 448.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.1261, allocations: 21.39 kB / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1261, allocations: 0 / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1261, allocations: 4 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1261, allocations: 3.938 kB / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1265, allocations: 403.2 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1266, allocations: 0 / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.1266, allocations: 8 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1266, allocations: 7.875 kB / 449.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1266, allocations: 8 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1266, allocations: 0 / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1266, allocations: 0 / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1268, allocations: 204.2 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1269, allocations: 96.91 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1269, allocations: 7.938 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.127, allocations: 0 / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1271, allocations: 11.98 kB / 449.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1271, allocations: 4 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1272, allocations: 156.2 kB / 449.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1272, allocations: 0 / 449.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1275, allocations: 27.98 kB / 449.9 MB, free: 5.867 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.001414/0.1289, allocations: 1.101 MB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1291, allocations: 55.97 kB / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1291, allocations: 3.938 kB / 451 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.1292, allocations: 28.09 kB / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1295, allocations: 32.11 kB / 451.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1314, allocations: 1.713 MB / 452.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1317, allocations: 0.7083 MB / 453.5 MB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1317, allocations: 16.48 kB / 453.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1318, allocations: 39.42 kB / 453.6 MB, free: 2.062 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1318, allocations: 0 / 453.6 MB, free: 2.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/0.3533, allocations: 3.035 MB / 456.6 MB, free: 45.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/0.3535, allocations: 231.4 kB / 456.8 MB, free: 44.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.212, allocations: 0 / 456.8 MB, free: 44.92 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches