Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.001118/0.001118, allocations: 98.92 kB / 15.98 MB, free: 6.336 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.001161/0.001161, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.815/1.815, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2637/0.2637, allocations: 43.51 MB / 313.6 MB, free: 0.7031 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.001541/0.001542, allocations: 74.95 kB / 382.3 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 57.78 MB / 440.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003836/0.1605, allocations: 1.703 MB / 441.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.162, allocations: 0.7773 MB / 442.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1621, allocations: 0 / 442.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.1625, allocations: 55.86 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1628, allocations: 59.8 kB / 442.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1631, allocations: 71.48 kB / 442.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1632, allocations: 103.6 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.1633, allocations: 8.281 kB / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.1634, allocations: 47.78 kB / 442.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1635, allocations: 51.77 kB / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1636, allocations: 0 / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.1637, allocations: 35.98 kB / 443 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1637, allocations: 19.97 kB / 443 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1638, allocations: 27.75 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1639, allocations: 103.6 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1639, allocations: 0 / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.164, allocations: 0 / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.164, allocations: 4 kB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004953/0.1645, allocations: 406.9 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1645, allocations: 11.89 kB / 443.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.1646, allocations: 34.75 kB / 443.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1646, allocations: 8.844 kB / 443.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1648, allocations: 205 kB / 443.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1648, allocations: 384 / 443.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1648, allocations: 3.938 kB / 443.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.165, allocations: 65.59 kB / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.165, allocations: 0 / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.165, allocations: 0 / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.165, allocations: 0 / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.1651, allocations: 15.98 kB / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1653, allocations: 181.7 kB / 444.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1654, allocations: 50.56 kB / 444.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1655, allocations: 24.84 kB / 444.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1655, allocations: 3.938 kB / 444.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1657, allocations: 67.33 kB / 444.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1657, allocations: 0 / 444.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002995/0.166, allocations: 97.67 kB / 444.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1661, allocations: 51.41 kB / 444.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1662, allocations: 190.1 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1662, allocations: 29.7 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1663, allocations: 108.1 kB / 444.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1664, allocations: 3.906 kB / 444.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.1664, allocations: 17.72 kB / 444.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.1665, allocations: 322.8 kB / 445 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.1665, allocations: 20.05 kB / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.1666, allocations: 41.69 kB / 445.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.1667, allocations: 41.7 kB / 445.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1667, allocations: 3.938 kB / 445.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.1668, allocations: 89.38 kB / 445.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1669, allocations: 4 kB / 445.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1669, allocations: 0 / 445.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1669, allocations: 3.984 kB / 445.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.167, allocations: 12.03 kB / 445.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.167, allocations: 4 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.167, allocations: 3.938 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1671, allocations: 4 kB / 445.3 MB, free: 1.836 MB / 318.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 (7): * Single equations (assignments): 7 * 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.003e-05/0.1672, allocations: 137.6 kB / 445.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.1672, allocations: 7.906 kB / 445.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.1672, allocations: 8.312 kB / 445.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1672, allocations: 3.984 kB / 445.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1672, allocations: 4 kB / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1672, allocations: 4 kB / 445.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1673, allocations: 181.6 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1674, allocations: 0 / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.1674, allocations: 4 kB / 445.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1674, allocations: 0 / 445.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1674, allocations: 4 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1674, allocations: 0 / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1674, allocations: 0 / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1676, allocations: 124.9 kB / 445.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.1676, allocations: 92.94 kB / 445.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1676, allocations: 0 / 445.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.1677, allocations: 4 kB / 445.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1677, allocations: 4 kB / 445.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1677, allocations: 0 / 445.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.1678, allocations: 143.2 kB / 446 MB, free: 1.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 0 / 446 MB, free: 1.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1681, allocations: 16 kB / 446 MB, free: 1.016 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00127/0.1693, allocations: 0.9437 MB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1695, allocations: 43.91 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1695, allocations: 4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.1696, allocations: 20 kB / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1698, allocations: 30.06 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1716, allocations: 1.481 MB / 448.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.172, allocations: 0.7041 MB / 449.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.172, allocations: 16.41 kB / 449.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.1721, allocations: 27.42 kB / 449.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1721, allocations: 0 / 449.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.1883, allocations: 2.91 MB / 452.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/0.1887, allocations: 230.8 kB / 452.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.117, allocations: 3.938 kB / 452.4 MB, free: 10.52 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches