Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 51.92 kB / 365.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09491, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002867/0.09778, allocations: 1.6 MB / 419.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006894/0.09847, allocations: 430.9 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.09852, allocations: 4 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.09856, allocations: 11.86 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.09864, allocations: 7.875 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.09877, allocations: 23.95 kB / 419.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.09889, allocations: 63.73 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.09903, allocations: 31.97 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.09912, allocations: 27.84 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.09919, allocations: 31.8 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.09921, allocations: 8 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.09922, allocations: 8 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.09924, allocations: 11.98 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.09928, allocations: 31.8 kB / 420 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.09941, allocations: 71.66 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09941, allocations: 0 / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09941, allocations: 0 / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.09942, allocations: 0 / 420.1 MB, free: 10.24 MB / 350.1 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.0005264/0.09995, allocations: 383.1 kB / 420.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.09998, allocations: 15.97 kB / 420.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.1, allocations: 42.73 kB / 420.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.1001, allocations: 8.891 kB / 420.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1002, allocations: 172.2 kB / 420.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1002, allocations: 12.12 kB / 420.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1002, allocations: 4 kB / 420.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1005, allocations: 114 kB / 420.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1005, allocations: 0 / 420.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1005, allocations: 8 kB / 420.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1005, allocations: 3.938 kB / 420.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1007, allocations: 59.88 kB / 420.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1013, allocations: 0.642 MB / 421.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1015, allocations: 116.9 kB / 421.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1016, allocations: 56.39 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1017, allocations: 0 / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1017, allocations: 42.56 kB / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.1017, allocations: 0 / 421.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004319/0.1021, allocations: 122 kB / 421.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.1022, allocations: 166.2 kB / 422.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1023, allocations: 121.8 kB / 422.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1023, allocations: 25.7 kB / 422.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.1024, allocations: 96.09 kB / 422.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1024, allocations: 23.78 kB / 422.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1025, allocations: 21.72 kB / 422.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1026, allocations: 318.8 kB / 422.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.1027, allocations: 23.98 kB / 422.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.1028, allocations: 44.28 kB / 422.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1029, allocations: 84.2 kB / 422.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1029, allocations: 0 / 422.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.1032, allocations: 97.53 kB / 422.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1032, allocations: 4.156 kB / 422.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1032, allocations: 4 kB / 422.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1032, allocations: 12.05 kB / 422.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.1033, allocations: 12 kB / 422.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1033, allocations: 3.938 kB / 422.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.1034, allocations: 15.94 kB / 422.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1034, allocations: 0 / 422.9 MB, free: 7.043 MB / 350.1 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 9.52e-05/0.1035, allocations: 117.8 kB / 423.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.1036, allocations: 4 kB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.1036, allocations: 23.39 kB / 423.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1036, allocations: 4 kB / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1036, allocations: 0 / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1036, allocations: 0 / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.104, allocations: 189.6 kB / 423.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.104, allocations: 4 kB / 423.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.1041, allocations: 11.98 kB / 423.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1041, allocations: 0 / 423.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1041, allocations: 11.94 kB / 423.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1041, allocations: 3.938 kB / 423.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1041, allocations: 4 kB / 423.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1045, allocations: 484.6 kB / 423.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.1046, allocations: 92.94 kB / 423.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1046, allocations: 7.938 kB / 423.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1048, allocations: 7.984 kB / 423.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1048, allocations: 15.92 kB / 423.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.1048, allocations: 4 kB / 423.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.1049, allocations: 87.28 kB / 424 MB, free: 5.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1049, allocations: 0 / 424 MB, free: 5.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.1053, allocations: 11.98 kB / 424 MB, free: 5.879 MB / 350.1 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.0006888/0.106, allocations: 1.026 MB / 425 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1062, allocations: 59.89 kB / 425.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1062, allocations: 0 / 425.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.1063, allocations: 32.48 kB / 425.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.1068, allocations: 6.312 kB / 425.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.1075, allocations: 236.1 kB / 425.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1078, allocations: 0.6922 MB / 426.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1079, allocations: 8 kB / 426.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.1079, allocations: 27.42 kB / 426.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1079, allocations: 0 / 426.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1318, allocations: 1.659 MB / 427.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.754, allocations: 16.5 kB / 427.8 MB, free: 2.066 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.076468714047223]