Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.003796/0.003796, allocations: 100.4 kB / 15.87 MB, free: 6.309 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.0009371/0.0009372, allocations: 195.6 kB / 16.79 MB, free: 6.238 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.492/1.492, allocations: 205.1 MB / 222.6 MB, free: 4.945 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.3696/0.3696, allocations: 43.49 MB / 313.5 MB, free: 8.609 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.001626/0.001626, allocations: 66.56 kB / 382.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1286, allocations: 57.78 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003477/0.1321, allocations: 1.76 MB / 441.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1335, allocations: 0.7923 MB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1336, allocations: 0 / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.134, allocations: 79.83 kB / 442.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1343, allocations: 63.8 kB / 442.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1346, allocations: 79.84 kB / 442.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1349, allocations: 95.75 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.135, allocations: 20.14 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1351, allocations: 43.78 kB / 442.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1352, allocations: 63.75 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1352, allocations: 0 / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1353, allocations: 35.98 kB / 442.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1354, allocations: 19.92 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1355, allocations: 47.66 kB / 443 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1357, allocations: 115.9 kB / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1357, allocations: 0 / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1357, allocations: 0 / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1358, allocations: 0 / 443.1 MB, free: 11.8 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.0006139/0.1364, allocations: 422.9 kB / 443.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1364, allocations: 8.031 kB / 443.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.1365, allocations: 34.75 kB / 443.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1365, allocations: 16.69 kB / 443.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1368, allocations: 208.8 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1368, allocations: 384 / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1369, allocations: 11.88 kB / 443.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.137, allocations: 53.67 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.137, allocations: 0 / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1371, allocations: 4 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1371, allocations: 3.984 kB / 443.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1372, allocations: 19.98 kB / 443.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1376, allocations: 304.7 kB / 444.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1378, allocations: 50.62 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.1378, allocations: 28.84 kB / 444.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1379, allocations: 0 / 444.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1381, allocations: 63.39 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1381, allocations: 0 / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.1387, allocations: 181.2 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1388, allocations: 51.41 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.139, allocations: 218.3 kB / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.139, allocations: 25.7 kB / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1391, allocations: 108.1 kB / 444.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1391, allocations: 27.64 kB / 444.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.1391, allocations: 21.72 kB / 445 MB, free: 9.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1393, allocations: 326.8 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.1393, allocations: 19.92 kB / 445.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.1394, allocations: 37.7 kB / 445.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1395, allocations: 61.7 kB / 445.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1395, allocations: 0 / 445.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1397, allocations: 109.5 kB / 445.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1397, allocations: 4 kB / 445.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1398, allocations: 0 / 445.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1398, allocations: 0 / 445.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.1399, allocations: 23.98 kB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1399, allocations: 4.031 kB / 445.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1399, allocations: 4.125 kB / 445.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1399, allocations: 7.938 kB / 445.5 MB, free: 9.148 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.0001054/0.1401, allocations: 137.7 kB / 445.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1401, allocations: 7.906 kB / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.1401, allocations: 17.41 kB / 445.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1401, allocations: 0 / 445.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1402, allocations: 3.984 kB / 445.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1402, allocations: 3.938 kB / 445.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1406, allocations: 399.2 kB / 446.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1406, allocations: 4 kB / 446.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.1406, allocations: 4 kB / 446.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1407, allocations: 7.938 kB / 446.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1407, allocations: 3.984 kB / 446.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1407, allocations: 0 / 446.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1407, allocations: 4 kB / 446.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1409, allocations: 204.3 kB / 446.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.141, allocations: 84.92 kB / 446.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.141, allocations: 7.938 kB / 446.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1411, allocations: 4.375 kB / 446.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1411, allocations: 7.984 kB / 446.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1411, allocations: 4 kB / 446.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1412, allocations: 160.2 kB / 446.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1413, allocations: 0 / 446.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1415, allocations: 31.98 kB / 446.6 MB, free: 7.965 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.00145/0.143, allocations: 1.106 MB / 447.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1431, allocations: 51.97 kB / 447.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1432, allocations: 3.938 kB / 447.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1432, allocations: 36.08 kB / 447.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1436, allocations: 28.25 kB / 447.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1453, allocations: 1.711 MB / 449.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1456, allocations: 0.7083 MB / 450.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.059e-05/0.1456, allocations: 16.53 kB / 450.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.1457, allocations: 35.42 kB / 450.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1457, allocations: 0 / 450.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.1596, allocations: 3.227 MB / 453.5 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.1599, allocations: 238.4 kB / 453.8 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.827, allocations: 0 / 453.8 MB, free: 0.6641 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches