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.00191/0.00191, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002329/0.002329, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.573/1.573, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.002262/0.002262, allocations: 63.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4185, allocations: 53.42 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003102/0.4216, allocations: 1.607 MB / 432.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.4226, allocations: 458.8 kB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.4227, allocations: 4 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/0.4227, allocations: 7.875 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.4228, allocations: 11.86 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.4231, allocations: 39.89 kB / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4232, allocations: 55.8 kB / 433.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.4234, allocations: 43.92 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.4235, allocations: 35.86 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.4236, allocations: 27.8 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4236, allocations: 4 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.4237, allocations: 8 kB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.4237, allocations: 19.97 kB / 433.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.4237, allocations: 31.73 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.4239, allocations: 65.61 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4239, allocations: 0 / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4239, allocations: 0 / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4239, allocations: 0 / 433.5 MB, free: 4.02 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.0005147/0.4244, allocations: 318 kB / 433.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4245, allocations: 11.98 kB / 433.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.4245, allocations: 46.73 kB / 433.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4246, allocations: 12.89 kB / 433.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.4249, allocations: 130.4 kB / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4249, allocations: 8.359 kB / 434 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4249, allocations: 8.375 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.4251, allocations: 118 kB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4251, allocations: 4 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4252, allocations: 4 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4252, allocations: 0 / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.4253, allocations: 59.89 kB / 434.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.426, allocations: 0.5942 MB / 434.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4262, allocations: 113 kB / 434.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4263, allocations: 60.39 kB / 435 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4263, allocations: 7.938 kB / 435 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4263, allocations: 30.56 kB / 435 MB, free: 2.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4263, allocations: 4 kB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004468/0.4268, allocations: 126 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.4269, allocations: 158.2 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.427, allocations: 129.7 kB / 435.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.427, allocations: 25.7 kB / 435.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.4271, allocations: 100 kB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4271, allocations: 15.89 kB / 435.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4271, allocations: 21.72 kB / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4273, allocations: 318.8 kB / 435.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.4273, allocations: 19.98 kB / 435.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.4274, allocations: 52.34 kB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.4276, allocations: 80.19 kB / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4276, allocations: 0 / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002153/0.4278, allocations: 105.5 kB / 436.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4278, allocations: 8 kB / 436.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4278, allocations: 7.875 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4279, allocations: 0 / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.4279, allocations: 15.98 kB / 436.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.428, allocations: 3.938 kB / 436.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.428, allocations: 4 kB / 436.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.428, allocations: 4 kB / 436.2 MB, free: 1.012 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 9.314e-05/0.4281, allocations: 125.9 kB / 436.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.4282, allocations: 11.94 kB / 436.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.4282, allocations: 15.58 kB / 436.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4282, allocations: 0 / 436.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4282, allocations: 7.938 kB / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4282, allocations: 0 / 436.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.4286, allocations: 156.8 kB / 436.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4286, allocations: 4 kB / 436.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.4287, allocations: 15.98 kB / 436.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4287, allocations: 0 / 436.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4287, allocations: 8 kB / 436.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4287, allocations: 0 / 436.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4287, allocations: 7.875 kB / 436.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.429, allocations: 484.6 kB / 437 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.4291, allocations: 11.95 kB / 437 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4291, allocations: 7.984 kB / 437 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.4293, allocations: 4 kB / 437 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4293, allocations: 15.86 kB / 437.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4293, allocations: 12 kB / 437.1 MB, free: 68 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.4294, allocations: 91.27 kB / 437.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4294, allocations: 0 / 437.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.4298, allocations: 8 kB / 437.2 MB, free: 15.97 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.0006361/0.4304, allocations: 1.014 MB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4306, allocations: 67.83 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4306, allocations: 0 / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.4307, allocations: 31.92 kB / 438.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.4312, allocations: 11.94 kB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.433, allocations: 1.769 MB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.4331, allocations: 75.33 kB / 440.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.558e-05/0.4331, allocations: 4 kB / 440.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.4332, allocations: 27.42 kB / 440.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4332, allocations: 0 / 440.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07008/0.5032, allocations: 2.209 MB / 442.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.12, allocations: 4.734 kB / 442.4 MB, free: 10.69 MB / 350.1 MB " [Timeout remaining time 648] (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: 15.086838466115296]