Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 116.5 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 212.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1134, allocations: 53.32 MB / 426.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003025/0.1164, allocations: 1.618 MB / 428.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.1172, allocations: 498.7 kB / 428.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1173, allocations: 3.938 kB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.1174, allocations: 3.938 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.1174, allocations: 19.8 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1176, allocations: 35.89 kB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1178, allocations: 63.78 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1179, allocations: 32.16 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1181, allocations: 35.84 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.1181, allocations: 35.84 kB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1182, allocations: 7.938 kB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.522e-05/0.1182, allocations: 8 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1182, allocations: 11.94 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1183, allocations: 31.8 kB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1184, allocations: 79.58 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1184, allocations: 0 / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1184, allocations: 0 / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1184, allocations: 0 / 429.1 MB, free: 2.547 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.0005405/0.119, allocations: 383.2 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.119, allocations: 8.031 kB / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1191, allocations: 38.75 kB / 429.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1192, allocations: 20.83 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1195, allocations: 192.2 kB / 429.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1195, allocations: 4.375 kB / 429.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1195, allocations: 8.375 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1197, allocations: 122.1 kB / 429.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1198, allocations: 0 / 429.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1198, allocations: 0 / 429.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1198, allocations: 0 / 429.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.12, allocations: 67.81 kB / 429.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.1207, allocations: 0.642 MB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1209, allocations: 117 kB / 430.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.121, allocations: 56.28 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.121, allocations: 4 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.121, allocations: 34.56 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.121, allocations: 0 / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004278/0.1214, allocations: 125.9 kB / 430.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1216, allocations: 162.1 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1217, allocations: 121.8 kB / 431.2 MB, free: 172 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1217, allocations: 25.7 kB / 431.2 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.1217, allocations: 100.1 kB / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1218, allocations: 19.83 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.1218, allocations: 17.88 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.122, allocations: 322.8 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.122, allocations: 19.98 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.1221, allocations: 52.27 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1223, allocations: 80.2 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1223, allocations: 7.938 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002151/0.1225, allocations: 97.48 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1225, allocations: 8 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1226, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1226, allocations: 4 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.1227, allocations: 15.98 kB / 432 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1227, allocations: 7.875 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.1227, allocations: 11.94 kB / 432 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1227, allocations: 0 / 432 MB, free: 15.33 MB / 366.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.885e-05/0.1228, allocations: 122 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1229, allocations: 7.953 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.123, allocations: 11.53 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.123, allocations: 4 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.123, allocations: 3.938 kB / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.123, allocations: 0 / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1234, allocations: 181.6 kB / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1234, allocations: 0 / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.1234, allocations: 15.98 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1234, allocations: 4 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1235, allocations: 4 kB / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1235, allocations: 3.938 kB / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1235, allocations: 3.938 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.1239, allocations: 0.489 MB / 432.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.1239, allocations: 85.06 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1239, allocations: 4 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1241, allocations: 4 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.1242, allocations: 15.86 kB / 432.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1242, allocations: 8 kB / 432.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.1243, allocations: 99.2 kB / 433 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1243, allocations: 0 / 433 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.1246, allocations: 12 kB / 433 MB, free: 14.16 MB / 366.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.0007019/0.1253, allocations: 1.014 MB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1255, allocations: 63.83 kB / 434.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1256, allocations: 4.25 kB / 434.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.1256, allocations: 35.92 kB / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.1261, allocations: 10.02 kB / 434.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1281, allocations: 1.762 MB / 435.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1284, allocations: 0.6885 MB / 436.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.1285, allocations: 4 kB / 436.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.1285, allocations: 27.42 kB / 436.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1285, allocations: 3.938 kB / 436.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.1512, allocations: 1.694 MB / 438.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.183, allocations: 11.06 kB / 438.4 MB, free: 8.719 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.716352436225861]