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.00147/0.00147, allocations: 114 kB / 20.43 MB, free: 1.457 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.001506/0.001506, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8 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.002126/0.002126, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2868, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003365/0.2902, allocations: 1.626 MB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2913, allocations: 0.5025 MB / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.2914, allocations: 0 / 433.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.952e-05/0.2914, allocations: 11.86 kB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.2915, allocations: 15.81 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2918, allocations: 31.91 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.292, allocations: 63.77 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.2922, allocations: 32.16 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2923, allocations: 35.91 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.2924, allocations: 31.78 kB / 433.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.2924, allocations: 8 kB / 433.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.2925, allocations: 16 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2925, allocations: 11.92 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.2926, allocations: 31.81 kB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2927, allocations: 72.48 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2927, allocations: 0 / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2927, allocations: 0 / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2927, allocations: 0 / 433.7 MB, free: 4.199 MB / 334.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.0006093/0.2934, allocations: 309.6 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.2934, allocations: 16.03 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.2935, allocations: 34.75 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.2936, allocations: 24.83 kB / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.2939, allocations: 134.3 kB / 434.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2939, allocations: 4.312 kB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.294, allocations: 8.375 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.2942, allocations: 121.7 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2942, allocations: 0 / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2942, allocations: 4 kB / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2942, allocations: 0 / 434.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2944, allocations: 63.83 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.2951, allocations: 0.6021 MB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.2954, allocations: 113 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2955, allocations: 60.28 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2955, allocations: 0 / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2955, allocations: 38.56 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2955, allocations: 0 / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004584/0.296, allocations: 126 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2961, allocations: 166.2 kB / 435.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2962, allocations: 117.8 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2962, allocations: 29.7 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.2963, allocations: 100 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2963, allocations: 15.89 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.2964, allocations: 21.7 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.2966, allocations: 318.8 kB / 436 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.2967, allocations: 23.98 kB / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.2968, allocations: 52.27 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.297, allocations: 84.27 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.297, allocations: 4 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002416/0.2972, allocations: 97.48 kB / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2972, allocations: 8.156 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2973, allocations: 4 kB / 436.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2973, allocations: 0 / 436.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2974, allocations: 15.98 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.2974, allocations: 11.88 kB / 436.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.2975, allocations: 7.984 kB / 436.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2975, allocations: 4 kB / 436.3 MB, free: 1.184 MB / 334.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 0.0001071/0.2976, allocations: 117.8 kB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.2977, allocations: 11.95 kB / 436.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.2977, allocations: 15.58 kB / 436.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2977, allocations: 0 / 436.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2977, allocations: 7.922 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.2977, allocations: 7.984 kB / 436.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2981, allocations: 152.7 kB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2981, allocations: 3.938 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.2982, allocations: 8 kB / 436.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2982, allocations: 4 kB / 436.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2982, allocations: 7.984 kB / 436.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.2982, allocations: 11.94 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2982, allocations: 3.938 kB / 436.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2987, allocations: 488.6 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.2987, allocations: 7.953 kB / 437.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2987, allocations: 4 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2989, allocations: 7.984 kB / 437.2 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.299, allocations: 19.86 kB / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.299, allocations: 0 / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of sorting global known variables: time 5.942e-05/0.299, allocations: 91.28 kB / 437.3 MB, free: 160 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.299, allocations: 0 / 437.3 MB, free: 160 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.2994, allocations: 12 kB / 437.3 MB, free: 148 kB / 334.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.0008235/0.3002, allocations: 1.022 MB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3005, allocations: 63.78 kB / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3005, allocations: 0 / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.3006, allocations: 36.41 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3011, allocations: 15.22 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3031, allocations: 1.757 MB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3034, allocations: 0.6924 MB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.3035, allocations: 3.984 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3035, allocations: 23.44 kB / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3035, allocations: 0 / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3336, allocations: 1.817 MB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.23, allocations: 14.59 kB / 442.8 MB, free: 10.63 MB / 350.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/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: 13.673129804199561]