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.001644/0.001644, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 58.91 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08534, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003038/0.08842, allocations: 1.6 MB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.08925, allocations: 0.4986 MB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.08934, allocations: 0 / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.08942, allocations: 7.875 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.08951, allocations: 15.86 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.08974, allocations: 27.91 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.08987, allocations: 59.8 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.09005, allocations: 56.16 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.09021, allocations: 31.86 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.09029, allocations: 31.84 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.09032, allocations: 11.94 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.09039, allocations: 4 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.09041, allocations: 11.98 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.09046, allocations: 35.8 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.09062, allocations: 75.94 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09063, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09063, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.09065, allocations: 4 kB / 360 MB, free: 11.53 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.0004769/0.09113, allocations: 379.2 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.09117, allocations: 8.031 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.09122, allocations: 42.73 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.09137, allocations: 12.84 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.09155, allocations: 192.1 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.09158, allocations: 4.375 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.0916, allocations: 4.375 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.09182, allocations: 118 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.09184, allocations: 0 / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.09187, allocations: 8 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.09188, allocations: 0 / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.09206, allocations: 59.89 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.09265, allocations: 0.638 MB / 361.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.09282, allocations: 116.9 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.09295, allocations: 60.41 kB / 361.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.09297, allocations: 4 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.093, allocations: 34.5 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.09301, allocations: 4 kB / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004378/0.09345, allocations: 125.4 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.09353, allocations: 158.2 kB / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.09362, allocations: 122.3 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.09365, allocations: 37.64 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.09371, allocations: 100 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.09373, allocations: 11.81 kB / 362.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.09378, allocations: 21.7 kB / 362.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.09388, allocations: 314.8 kB / 362.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.09396, allocations: 23.98 kB / 362.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.09406, allocations: 60.2 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.09425, allocations: 80.2 kB / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09426, allocations: 0 / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002426/0.09451, allocations: 97.5 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.09453, allocations: 4 kB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.09454, allocations: 4 kB / 362.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.09457, allocations: 0 / 362.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.09467, allocations: 16.08 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.09469, allocations: 11.94 kB / 362.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.09476, allocations: 11.92 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.09478, allocations: 4 kB / 362.9 MB, free: 8.324 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 9.062e-05/0.09488, allocations: 117.8 kB / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.09498, allocations: 7.906 kB / 363 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.09502, allocations: 23.47 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.09503, allocations: 3.984 kB / 363 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.09504, allocations: 3.938 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.09505, allocations: 8 kB / 363 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.09544, allocations: 181.6 kB / 363.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.09545, allocations: 0 / 363.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.09553, allocations: 15.92 kB / 363.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.09554, allocations: 4 kB / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.09555, allocations: 0 / 363.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.09556, allocations: 4 kB / 363.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.09557, allocations: 3.938 kB / 363.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.09593, allocations: 496.4 kB / 363.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.09599, allocations: 81.11 kB / 363.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.09601, allocations: 4.188 kB / 363.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.09624, allocations: 15.98 kB / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.09629, allocations: 15.88 kB / 363.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.0963, allocations: 3.984 kB / 363.8 MB, free: 7.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.09636, allocations: 95.66 kB / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09636, allocations: 0 / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.09677, allocations: 11.91 kB / 363.9 MB, free: 7.152 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.0005923/0.09737, allocations: 1.018 MB / 365 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.0976, allocations: 59.84 kB / 365 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.09761, allocations: 4 kB / 365 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.09772, allocations: 39.91 kB / 365.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.09826, allocations: 5.625 kB / 365.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1, allocations: 1.774 MB / 366.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1003, allocations: 0.6924 MB / 367.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.1003, allocations: 0 / 367.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1004, allocations: 23.42 kB / 367.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1004, allocations: 0 / 367.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.1163, allocations: 1.627 MB / 369.2 MB, free: 1.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.613, allocations: 1.094 kB / 369.2 MB, free: 1.785 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv","/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