Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008415/0.0008415, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008668/0.0008668, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.829e-05, allocations: 2.281 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00204/0.002058, allocations: 1.615 MB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.002599, allocations: 462.8 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.002653, allocations: 4 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.002689, allocations: 15.86 kB / 326.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.002745, allocations: 11.86 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.002896, allocations: 31.91 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.002984, allocations: 63.72 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.003111, allocations: 36.14 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003218, allocations: 51.83 kB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.003259, allocations: 23.91 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003273, allocations: 4 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.003304, allocations: 8 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.003315, allocations: 11.98 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.003334, allocations: 23.92 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003437, allocations: 71.77 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003439, allocations: 0 / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003439, allocations: 3.938 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.003443, allocations: 0 / 327 MB, free: 13.39 MB / 298.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.0002881/0.003731, allocations: 310 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.00376, allocations: 8.031 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.003787, allocations: 42.73 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.003861, allocations: 16.89 kB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.00398, allocations: 133.6 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.003993, allocations: 384 / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.004002, allocations: 8.375 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.00413, allocations: 110.5 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004137, allocations: 4.125 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.004145, allocations: 4.125 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.00415, allocations: 4 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.004247, allocations: 55.89 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.004625, allocations: 0.5982 MB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.004721, allocations: 113.1 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.004777, allocations: 52.27 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.004788, allocations: 4 kB / 328.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.004807, allocations: 38.56 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.004809, allocations: 7.984 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002354/0.005044, allocations: 121.4 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.005091, allocations: 158.2 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.005151, allocations: 121.8 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.00516, allocations: 34.27 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.0052, allocations: 96.03 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.005216, allocations: 19.89 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.005243, allocations: 21.72 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.005579, allocations: 326.7 kB / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.005618, allocations: 15.98 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.005672, allocations: 52.28 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.005774, allocations: 88.12 kB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005775, allocations: 0 / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001129/0.005888, allocations: 97.55 kB / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.0059, allocations: 4 kB / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005903, allocations: 0 / 329.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.005913, allocations: 8.156 kB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.005965, allocations: 15.92 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.00597, allocations: 3.984 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.006, allocations: 8.125 kB / 329.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.006005, allocations: 4 kB / 329.6 MB, free: 10.4 MB / 298.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 7.345e-05/0.006078, allocations: 129.7 kB / 329.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.006124, allocations: 11.94 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.006143, allocations: 11.58 kB / 329.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.006148, allocations: 4 kB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.006152, allocations: 4 kB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.006156, allocations: 4 kB / 329.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.006421, allocations: 156.6 kB / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006421, allocations: 0 / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.006453, allocations: 19.92 kB / 330 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006456, allocations: 4 kB / 330 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006464, allocations: 0 / 330 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.006466, allocations: 4 kB / 330 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006467, allocations: 0 / 330 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.00672, allocations: 488.6 kB / 330.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.006729, allocations: 11.89 kB / 330.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.006742, allocations: 3.984 kB / 330.5 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.006859, allocations: 8 kB / 330.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.006895, allocations: 11.92 kB / 330.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.006899, allocations: 4 kB / 330.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.006942, allocations: 91.27 kB / 330.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006942, allocations: 7.938 kB / 330.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.007207, allocations: 12 kB / 330.6 MB, free: 9.359 MB / 298.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.0004261/0.007633, allocations: 1.018 MB / 331.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.007769, allocations: 59.89 kB / 331.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007771, allocations: 0 / 331.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.00782, allocations: 32.42 kB / 331.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.008159, allocations: 11.94 kB / 331.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.009254, allocations: 1.776 MB / 333.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.009317, allocations: 75.08 kB / 333.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.00934, allocations: 4 kB / 333.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.009379, allocations: 28.48 kB / 333.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.00938, allocations: 0 / 333.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.02548, allocations: 2.348 MB / 336 MB, free: 3.949 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.747, allocations: 0 / 336 MB, free: 3.949 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.391309744678438]