Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.0008968/0.0008968, allocations: 102.1 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.0009171/0.0009172, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.475/1.475, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.3429/0.3429, allocations: 43.57 MB / 315 MB, free: 8.805 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.0005593/0.0005593, allocations: 12 kB / 384.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002243/0.1353, allocations: 1.421 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1367, allocations: 0.7691 MB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.1367, allocations: 0 / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1371, allocations: 39.83 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1373, allocations: 43.83 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1375, allocations: 79.84 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1377, allocations: 95.69 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1378, allocations: 12.22 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.1379, allocations: 31.8 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.138, allocations: 35.78 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.138, allocations: 4 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1381, allocations: 39.98 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.1382, allocations: 15.92 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.1383, allocations: 65.42 kB / 446.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1385, allocations: 111.9 kB / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1385, allocations: 0 / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1385, allocations: 0 / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1385, allocations: 0 / 446.3 MB, free: 9.809 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.00055/0.139, allocations: 395.1 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1391, allocations: 15.97 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1391, allocations: 38.69 kB / 446.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1392, allocations: 8.844 kB / 446.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1394, allocations: 212 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1394, allocations: 4.375 kB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1395, allocations: 7.938 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1396, allocations: 57.67 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1396, allocations: 3.938 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1397, allocations: 0 / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1397, allocations: 0 / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.1397, allocations: 27.91 kB / 447.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1401, allocations: 288.8 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1403, allocations: 58.67 kB / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1404, allocations: 16.86 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1404, allocations: 0 / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.1406, allocations: 79.31 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1406, allocations: 0 / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005469/0.1411, allocations: 169.2 kB / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1412, allocations: 51.41 kB / 447.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1414, allocations: 194.1 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1414, allocations: 25.7 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1414, allocations: 100.1 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1415, allocations: 19.72 kB / 448 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.1415, allocations: 25.7 kB / 448.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1416, allocations: 322.8 kB / 448.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.1417, allocations: 16 kB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.1418, allocations: 37.7 kB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1419, allocations: 61.64 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1419, allocations: 0 / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001667/0.1421, allocations: 101.6 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1421, allocations: 4 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1421, allocations: 0 / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1421, allocations: 0 / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.1422, allocations: 23.92 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1422, allocations: 0 / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.1423, allocations: 3.938 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1423, allocations: 8 kB / 448.6 MB, free: 7.234 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.796e-05/0.1424, allocations: 126 kB / 448.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.1424, allocations: 15.81 kB / 448.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.1425, allocations: 20.64 kB / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1425, allocations: 0 / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1425, allocations: 0 / 448.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1425, allocations: 3.938 kB / 448.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.1429, allocations: 399.4 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1429, allocations: 0 / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.143, allocations: 15.97 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.143, allocations: 4.312 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.143, allocations: 4 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.143, allocations: 7.984 kB / 449.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.143, allocations: 0 / 449.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1432, allocations: 196.3 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1433, allocations: 92.92 kB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1433, allocations: 11.94 kB / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1434, allocations: 3.984 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1434, allocations: 4 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1435, allocations: 4 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1436, allocations: 148 kB / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1438, allocations: 24 kB / 449.7 MB, free: 6.074 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.001558/0.1454, allocations: 1.106 MB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1456, allocations: 59.91 kB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1456, allocations: 0 / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.1457, allocations: 31.92 kB / 450.9 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1461, allocations: 35.91 kB / 450.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1477, allocations: 1.642 MB / 452.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.148, allocations: 0.7082 MB / 453.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.1481, allocations: 20.86 kB / 453.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1481, allocations: 35.42 kB / 453.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1481, allocations: 0 / 453.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2507/0.3988, allocations: 2.918 MB / 456.2 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.399, allocations: 235.7 kB / 456.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.314, allocations: 0 / 456.5 MB, free: 45.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches