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.0009116/0.0009116, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009388/0.0009388, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8879/0.8879, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.951e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001929/0.001949, allocations: 1.601 MB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.002599, allocations: 466.8 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.002667, allocations: 0 / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.002703, allocations: 15.86 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.002773, allocations: 11.86 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.00296, allocations: 35.84 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.003068, allocations: 55.78 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.003217, allocations: 44.14 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.003346, allocations: 51.88 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.003399, allocations: 15.92 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.003415, allocations: 8 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.003454, allocations: 8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.00347, allocations: 11.92 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.003494, allocations: 27.86 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003619, allocations: 67.77 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003621, allocations: 0 / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.003622, allocations: 0 / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.003626, allocations: 8 kB / 326.9 MB, free: 13.48 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.0003638/0.00399, allocations: 306 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.004029, allocations: 15.98 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.004059, allocations: 38.73 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.004147, allocations: 20.88 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004297, allocations: 125.7 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.004324, allocations: 384 / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.004338, allocations: 8.375 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.004492, allocations: 121.6 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.004498, allocations: 192 / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004508, allocations: 8.062 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004513, allocations: 4 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.004618, allocations: 55.89 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.005054, allocations: 0.5942 MB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.005165, allocations: 116.9 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.00523, allocations: 52.47 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.005248, allocations: 7.938 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.00527, allocations: 38.56 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005271, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002782/0.005549, allocations: 125.9 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.005613, allocations: 162.1 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.005688, allocations: 121.8 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005699, allocations: 25.7 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.005743, allocations: 100 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.005761, allocations: 15.91 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.00579, allocations: 17.72 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.005871, allocations: 326.8 kB / 329.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.005914, allocations: 19.98 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.005967, allocations: 60.36 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.501e-05/0.006062, allocations: 72.2 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006065, allocations: 4 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001244/0.006189, allocations: 101.5 kB / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.006204, allocations: 8 kB / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006209, allocations: 0 / 329.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.006222, allocations: 4 kB / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.006294, allocations: 11.98 kB / 329.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006299, allocations: 0 / 329.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.006331, allocations: 8 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006337, allocations: 160 / 329.6 MB, free: 10.5 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.132e-05/0.006408, allocations: 141.6 kB / 329.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.006453, allocations: 7.953 kB / 329.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.006474, allocations: 11.58 kB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006477, allocations: 4 kB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.006481, allocations: 0 / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006484, allocations: 0 / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.006719, allocations: 156.6 kB / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00672, allocations: 4 kB / 329.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.006751, allocations: 15.98 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.006754, allocations: 4 kB / 329.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00676, allocations: 7.938 kB / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006761, allocations: 3.938 kB / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.006763, allocations: 4 kB / 329.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.006977, allocations: 488.5 kB / 330.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-06/0.006986, allocations: 11.92 kB / 330.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006996, allocations: 4.188 kB / 330.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.007109, allocations: 12 kB / 330.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.007144, allocations: 15.92 kB / 330.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.007149, allocations: 4 kB / 330.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.007188, allocations: 99.58 kB / 330.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007188, allocations: 0 / 330.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.007427, allocations: 16 kB / 330.6 MB, free: 9.438 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.0003796/0.007807, allocations: 1.006 MB / 331.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.007946, allocations: 63.83 kB / 331.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007947, allocations: 0 / 331.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.007996, allocations: 31.92 kB / 331.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.008333, allocations: 19.2 kB / 331.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.009465, allocations: 1.769 MB / 333.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.009534, allocations: 79.08 kB / 333.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.636e-05/0.009561, allocations: 4 kB / 333.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.009604, allocations: 28.48 kB / 333.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009604, allocations: 0 / 333.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02337, allocations: 2.327 MB / 335.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.846, allocations: 13.62 kB / 335.9 MB, free: 4.02 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.524918242357671]