Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001034/0.001034, allocations: 103.3 kB / 15.98 MB, free: 6.352 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.001066/0.001066, allocations: 196.5 kB / 16.91 MB, free: 6.195 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.707/1.707, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3956/0.3956, allocations: 43.49 MB / 313.6 MB, free: 8.48 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.001673/0.001674, allocations: 67.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1475, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004181/0.1517, allocations: 1.745 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1533, allocations: 0.7885 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1534, allocations: 0 / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.1539, allocations: 103.7 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1543, allocations: 83.78 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1547, allocations: 75.84 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.155, allocations: 111.7 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1551, allocations: 12.22 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1552, allocations: 55.77 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1554, allocations: 63.8 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1554, allocations: 8 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1556, allocations: 39.92 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.1556, allocations: 27.86 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.1557, allocations: 39.73 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.1561, allocations: 127.8 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1561, allocations: 0 / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1561, allocations: 0 / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1561, allocations: 4 kB / 443.4 MB, free: 11.33 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.0007235/0.1568, allocations: 426.8 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.1569, allocations: 15.89 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.157, allocations: 42.73 kB / 443.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.157, allocations: 12.75 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1574, allocations: 216.7 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1574, allocations: 4.375 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1574, allocations: 11.88 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1576, allocations: 57.61 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1577, allocations: 8 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1577, allocations: 0 / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1577, allocations: 4 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1578, allocations: 19.98 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1582, allocations: 296.8 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1584, allocations: 54.69 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.1585, allocations: 20.84 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1585, allocations: 4 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.1588, allocations: 67.33 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.1588, allocations: 4 kB / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006643/0.1595, allocations: 173.2 kB / 444.8 MB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1596, allocations: 59.34 kB / 444.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.1599, allocations: 246.2 kB / 445.1 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1599, allocations: 33.7 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.16, allocations: 104.1 kB / 445.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.16, allocations: 23.7 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.1601, allocations: 25.72 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1603, allocations: 326.8 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.1603, allocations: 20 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1604, allocations: 33.7 kB / 445.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1606, allocations: 65.62 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1606, allocations: 0 / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.1608, allocations: 101.5 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1608, allocations: 7.984 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1609, allocations: 4 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.1609, allocations: 0 / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.161, allocations: 15.94 kB / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.161, allocations: 0 / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.1611, allocations: 11.97 kB / 445.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1611, allocations: 11.98 kB / 445.9 MB, free: 8.605 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.0001467/0.1613, allocations: 121.8 kB / 446 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1613, allocations: 19.8 kB / 446 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.1614, allocations: 17.41 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1614, allocations: 4 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.1614, allocations: 192 / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1614, allocations: 7.875 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.162, allocations: 407.6 kB / 446.4 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.162, allocations: 0 / 446.4 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.162, allocations: 12 kB / 446.4 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1621, allocations: 3.938 kB / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1621, allocations: 0 / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1621, allocations: 4 kB / 446.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1621, allocations: 7.922 kB / 446.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1624, allocations: 204.2 kB / 446.7 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.1625, allocations: 88.92 kB / 446.7 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1625, allocations: 3.938 kB / 446.7 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1626, allocations: 8 kB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1626, allocations: 11.97 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.1626, allocations: 4 kB / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1628, allocations: 184.3 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1629, allocations: 4 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1631, allocations: 20 kB / 447 MB, free: 7.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.001773/0.1649, allocations: 1.121 MB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1651, allocations: 55.92 kB / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1652, allocations: 0 / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.1653, allocations: 31.92 kB / 448.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1656, allocations: 31.95 kB / 448.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1677, allocations: 1.786 MB / 450 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.168, allocations: 0.7119 MB / 450.7 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1681, allocations: 17.17 kB / 450.7 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.1681, allocations: 39.42 kB / 450.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1681, allocations: 0 / 450.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1877, allocations: 3.435 MB / 454.2 MB, free: 36 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2867/0.4744, allocations: 237.2 kB / 454.4 MB, free: 51.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.231, allocations: 0 / 454.4 MB, free: 51.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches