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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006643/0.0006643, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000785/0.000785, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000195/0.0001951, allocations: 4 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.0862, allocations: 51.52 MB / 359.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001531/0.08777, allocations: 1.326 MB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.08844, allocations: 494.8 kB / 361.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.0885, allocations: 4 kB / 361.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.08853, allocations: 3.938 kB / 361.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.0886, allocations: 3.938 kB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.08874, allocations: 27.97 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.08885, allocations: 59.73 kB / 361.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.08899, allocations: 44.17 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.0891, allocations: 31.86 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.08915, allocations: 23.86 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.08917, allocations: 3.938 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.08921, allocations: 7.984 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.08923, allocations: 3.984 kB / 361.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.08927, allocations: 53.52 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.08938, allocations: 63.98 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.08939, allocations: 4 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.0894, allocations: 0 / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.08941, allocations: 7.875 kB / 361.5 MB, free: 11.06 MB / 302.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.0003802/0.0898, allocations: 375.3 kB / 361.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.08984, allocations: 12.03 kB / 361.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.08989, allocations: 34.75 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.09001, allocations: 20.83 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.09017, allocations: 192.1 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.09019, allocations: 8.375 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.09021, allocations: 8.375 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.09041, allocations: 114.1 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.09043, allocations: 4 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.09045, allocations: 4 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.09046, allocations: 4 kB / 362.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.09064, allocations: 67.83 kB / 362.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.09115, allocations: 0.6419 MB / 363 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.09132, allocations: 121.1 kB / 363.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.09145, allocations: 64.2 kB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.09146, allocations: 0 / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.09149, allocations: 38.56 kB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.0915, allocations: 4 kB / 363.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004097/0.09191, allocations: 130.1 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.09199, allocations: 166.2 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.09208, allocations: 133.6 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.0921, allocations: 25.7 kB / 363.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.09215, allocations: 96.03 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.09217, allocations: 15.8 kB / 363.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.09221, allocations: 17.72 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.09233, allocations: 314.8 kB / 364.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.09242, allocations: 35.95 kB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.015e-05/0.09251, allocations: 52.28 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.09271, allocations: 92.2 kB / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09272, allocations: 0 / 364.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00022/0.09294, allocations: 105.5 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09297, allocations: 12.16 kB / 364.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09298, allocations: 0 / 364.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.09299, allocations: 7.984 kB / 364.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.09308, allocations: 8 kB / 364.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.0931, allocations: 15.86 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.09318, allocations: 19.83 kB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.0932, allocations: 0 / 364.4 MB, free: 7.781 MB / 302.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 8.18e-05/0.09328, allocations: 129.7 kB / 364.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.09337, allocations: 8 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.09341, allocations: 15.47 kB / 364.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.09341, allocations: 4 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.09342, allocations: 3.938 kB / 364.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.09343, allocations: 0 / 364.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.09379, allocations: 185.5 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0938, allocations: 4 kB / 364.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.09386, allocations: 11.98 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.09388, allocations: 4 kB / 364.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.09389, allocations: 4 kB / 364.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.0939, allocations: 7.938 kB / 364.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.09391, allocations: 3.938 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.09427, allocations: 0.4929 MB / 365.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.09432, allocations: 81.02 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.09434, allocations: 4 kB / 365.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.09454, allocations: 11.98 kB / 365.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.09459, allocations: 23.86 kB / 365.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.0946, allocations: 0 / 365.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.09465, allocations: 95.27 kB / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.298e-06/0.09467, allocations: 0 / 365.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.09503, allocations: 11.94 kB / 365.5 MB, free: 6.594 MB / 302.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.000607/0.09564, allocations: 1.03 MB / 366.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.09586, allocations: 71.83 kB / 366.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09587, allocations: 0 / 366.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.09598, allocations: 40.23 kB / 366.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.09648, allocations: 8 kB / 366.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.09827, allocations: 1.809 MB / 368.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.09856, allocations: 0.6965 MB / 369.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.09859, allocations: 0 / 369.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.09865, allocations: 27.42 kB / 369.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09866, allocations: 3.938 kB / 369.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009985/0.1086, allocations: 1.345 MB / 370.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.1089, allocations: 197 kB / 370.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.643, allocations: 3.938 kB / 370.7 MB, free: 1.219 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches