Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.000912/0.0009121, allocations: 97.8 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.00089/0.0008903, allocations: 177 kB / 16.92 MB, free: 6.68 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.579/1.579, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.3947/0.3947, allocations: 43.57 MB / 315 MB, free: 8.773 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.0005466/0.000547, allocations: 12 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1219, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002097/0.124, allocations: 1.418 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1254, allocations: 0.7653 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1254, allocations: 3.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1258, allocations: 107.8 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.126, allocations: 71.78 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1262, allocations: 83.83 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1264, allocations: 107.7 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1265, allocations: 12.2 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.1266, allocations: 63.64 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.94e-05/0.1267, allocations: 59.81 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1267, allocations: 4 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.1268, allocations: 35.98 kB / 446.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.1269, allocations: 31.84 kB / 446.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.1269, allocations: 65.38 kB / 446.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1271, allocations: 131.9 kB / 446.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1272, allocations: 3.938 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1272, allocations: 0 / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1272, allocations: 3.938 kB / 446.5 MB, free: 9.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005049/0.1277, allocations: 418.9 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1277, allocations: 12.03 kB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1278, allocations: 34.73 kB / 447 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1278, allocations: 20.75 kB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.128, allocations: 219.7 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1281, allocations: 8.375 kB / 447.2 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1281, allocations: 3.938 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1282, allocations: 61.61 kB / 447.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1283, allocations: 4 kB / 447.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1283, allocations: 7.984 kB / 447.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1283, allocations: 4 kB / 447.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.1284, allocations: 27.98 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1287, allocations: 296.8 kB / 447.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1289, allocations: 74.59 kB / 447.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.129, allocations: 32.78 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.129, allocations: 4.078 kB / 447.7 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1292, allocations: 75.38 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1292, allocations: 0 / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005519/0.1298, allocations: 212.9 kB / 448 MB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1299, allocations: 51.41 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1301, allocations: 250.5 kB / 448.3 MB, free: 7.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1301, allocations: 25.7 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1302, allocations: 116.1 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1302, allocations: 27.64 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1303, allocations: 17.72 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1304, allocations: 330.8 kB / 448.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.1305, allocations: 23.94 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1306, allocations: 41.7 kB / 448.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1307, allocations: 77.72 kB / 448.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1307, allocations: 0 / 448.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001915/0.1309, allocations: 113.4 kB / 449 MB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1309, allocations: 8 kB / 449 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.131, allocations: 3.938 kB / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.131, allocations: 0 / 449.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.1311, allocations: 20.02 kB / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1311, allocations: 4 kB / 449.1 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1311, allocations: 11.94 kB / 449.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1311, allocations: 4 kB / 449.1 MB, free: 6.746 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 (11): * Single equations (assignments): 11 * 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.0001039/0.1313, allocations: 129.8 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1313, allocations: 15.81 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1313, allocations: 21.39 kB / 449.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1313, allocations: 0 / 449.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1313, allocations: 0 / 449.3 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1314, allocations: 7.938 kB / 449.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.1318, allocations: 423.2 kB / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1318, allocations: 0 / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.1319, allocations: 11.94 kB / 449.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1319, allocations: 3.938 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1319, allocations: 8 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1319, allocations: 0 / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1319, allocations: 0 / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1322, allocations: 228.2 kB / 449.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1322, allocations: 92.92 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1323, allocations: 7.938 kB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1323, allocations: 7.984 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1324, allocations: 4 kB / 450 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1324, allocations: 11.98 kB / 450 MB, free: 5.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1326, allocations: 192.2 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1326, allocations: 0 / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1328, allocations: 24 kB / 450.3 MB, free: 5.477 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 (9): * Single equations (assignments): 7 * 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.001439/0.1343, allocations: 1.114 MB / 451.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1345, allocations: 71.89 kB / 451.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1345, allocations: 0 / 451.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.1346, allocations: 32.06 kB / 451.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1349, allocations: 36.16 kB / 451.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1368, allocations: 1.843 MB / 453.3 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1371, allocations: 0.7121 MB / 454.1 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.505e-05/0.1372, allocations: 24.62 kB / 454.1 MB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.1372, allocations: 43.42 kB / 454.1 MB, free: 1.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1372, allocations: 0 / 454.1 MB, free: 1.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/0.3583, allocations: 3.313 MB / 457.4 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.3586, allocations: 239.6 kB / 457.7 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.261, allocations: 13.52 kB / 457.7 MB, free: 45.3 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches