Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003363/0.003363, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8282/0.8282, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.208e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002315/0.002337, allocations: 1.583 MB / 300 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.003005, allocations: 432.6 kB / 300.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.003061, allocations: 4 kB / 300.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.003105, allocations: 11.86 kB / 300.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.003203, allocations: 15.86 kB / 300.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.003392, allocations: 23.86 kB / 300.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003499, allocations: 63.78 kB / 300.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.003685, allocations: 35.89 kB / 300.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003794, allocations: 31.97 kB / 300.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.003851, allocations: 19.92 kB / 300.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.003875, allocations: 4 kB / 300.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.003885, allocations: 8 kB / 300.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.003907, allocations: 15.91 kB / 300.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.003933, allocations: 19.94 kB / 300.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.004058, allocations: 71.7 kB / 300.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00406, allocations: 4 kB / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004061, allocations: 0 / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.004066, allocations: 0 / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004575/0.004524, allocations: 310 kB / 301.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.004572, allocations: 11.98 kB / 301.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.004612, allocations: 38.75 kB / 301.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.004638, allocations: 12.88 kB / 301.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.004726, allocations: 121.6 kB / 301.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.004747, allocations: 384 / 301.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.004758, allocations: 12.38 kB / 301.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.004929, allocations: 118.5 kB / 301.4 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.004936, allocations: 192 / 301.4 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004947, allocations: 4.125 kB / 301.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.004953, allocations: 4 kB / 301.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.005062, allocations: 55.89 kB / 301.4 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1578/0.1629, allocations: 0.5973 MB / 302 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1631, allocations: 113.9 kB / 302.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.1631, allocations: 54.39 kB / 302.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1632, allocations: 4.062 kB / 302.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1632, allocations: 40.53 kB / 302.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1632, allocations: 0 / 302.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003212/0.1635, allocations: 123.2 kB / 302.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1635, allocations: 158 kB / 302.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.1636, allocations: 119.5 kB / 302.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1636, allocations: 30.2 kB / 302.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.1637, allocations: 92.45 kB / 302.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1637, allocations: 21.81 kB / 302.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1637, allocations: 22.02 kB / 302.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.1638, allocations: 320.2 kB / 303.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1638, allocations: 24.03 kB / 303.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.1639, allocations: 52.16 kB / 303.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.164, allocations: 82.94 kB / 303.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.164, allocations: 1.062 kB / 303.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001234/0.1641, allocations: 97.94 kB / 303.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1641, allocations: 5.719 kB / 303.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1641, allocations: 2 kB / 303.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1641, allocations: 4.625 kB / 303.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.1642, allocations: 12.09 kB / 303.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1642, allocations: 6.094 kB / 303.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.1643, allocations: 12.38 kB / 303.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1643, allocations: 2.156 kB / 303.4 MB, free: 14.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.217e-05/0.1643, allocations: 116.1 kB / 303.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1644, allocations: 11.94 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.1644, allocations: 15.95 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1644, allocations: 1.75 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1644, allocations: 6.016 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1644, allocations: 7.547 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1646, allocations: 153.6 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1646, allocations: 1.125 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.1647, allocations: 12.83 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1647, allocations: 5.625 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1647, allocations: 1.344 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1647, allocations: 6.734 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1647, allocations: 1.062 kB / 303.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1648, allocations: 487.6 kB / 304.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.1649, allocations: 13.31 kB / 304.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1649, allocations: 1.312 kB / 304.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.165, allocations: 8.875 kB / 304.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.165, allocations: 12.73 kB / 304.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.165, allocations: 4.703 kB / 304.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.1651, allocations: 96.5 kB / 304.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1651, allocations: 0.7812 kB / 304.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.1653, allocations: 12 kB / 304.4 MB, free: 13.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002662/0.1656, allocations: 1.016 MB / 305.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1657, allocations: 57.11 kB / 305.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1657, allocations: 5.438 kB / 305.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/0.1658, allocations: 40 kB / 305.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1661, allocations: 5.281 kB / 305.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1666, allocations: 223.5 kB / 305.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.1666, allocations: 85.23 kB / 305.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.1667, allocations: 11.53 kB / 305.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1667, allocations: 21.53 kB / 305.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1667, allocations: 0 / 305.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.1839, allocations: 2.313 MB / 308.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.152, allocations: 8.906 kB / 308.1 MB, free: 11.12 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable controlBus.realSignal1 in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.700955788604915]