Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 187 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003281/0.1065, allocations: 1.595 MB / 376.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.1073, allocations: 460.4 kB / 376.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.1075, allocations: 4 kB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1075, allocations: 11.86 kB / 376.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.384e-05/0.1076, allocations: 11.86 kB / 376.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1078, allocations: 23.98 kB / 376.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1079, allocations: 63.72 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1081, allocations: 43.95 kB / 376.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1082, allocations: 23.86 kB / 376.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.1083, allocations: 35.8 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1083, allocations: 4 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.1084, allocations: 8 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.1084, allocations: 7.984 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1084, allocations: 31.81 kB / 376.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1086, allocations: 79.92 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1086, allocations: 0 / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1086, allocations: 0 / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1086, allocations: 0 / 377 MB, free: 2.688 MB / 318.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.0005189/0.1092, allocations: 375.3 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1092, allocations: 8.031 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1093, allocations: 38.75 kB / 377.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1093, allocations: 8.844 kB / 377.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1095, allocations: 188.1 kB / 377.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1095, allocations: 384 / 377.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1095, allocations: 8.375 kB / 377.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1097, allocations: 114.1 kB / 377.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1098, allocations: 0 / 377.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1098, allocations: 4 kB / 377.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1098, allocations: 7.938 kB / 377.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.11, allocations: 63.88 kB / 377.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.1107, allocations: 0.6458 MB / 378.5 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1109, allocations: 109.1 kB / 378.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.111, allocations: 68.28 kB / 378.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.111, allocations: 3.938 kB / 378.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1111, allocations: 38.55 kB / 378.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1111, allocations: 4 kB / 378.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004401/0.1115, allocations: 121.4 kB / 378.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1116, allocations: 158.2 kB / 378.9 MB, free: 468 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.1117, allocations: 134.2 kB / 379.1 MB, free: 324 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1117, allocations: 29.7 kB / 379.1 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1118, allocations: 96.03 kB / 379.2 MB, free: 188 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1118, allocations: 11.81 kB / 379.2 MB, free: 176 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.1118, allocations: 25.7 kB / 379.2 MB, free: 144 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1961/0.308, allocations: 314.8 kB / 379.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3082, allocations: 18.33 kB / 379.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3083, allocations: 50.64 kB / 379.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3085, allocations: 83 kB / 379.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3085, allocations: 1.25 kB / 379.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002728/0.3088, allocations: 102.2 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3089, allocations: 5.531 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3089, allocations: 2.219 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3089, allocations: 2.266 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.309, allocations: 12.36 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.309, allocations: 5.125 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.3091, allocations: 12.11 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3091, allocations: 4.531 kB / 379.8 MB, free: 13.01 MB / 318.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.0001094/0.3093, allocations: 119.7 kB / 380 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3094, allocations: 7.719 kB / 380 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.3095, allocations: 18.34 kB / 380 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3095, allocations: 1.375 kB / 380 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3095, allocations: 5.125 kB / 380 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3095, allocations: 2.312 kB / 380 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3099, allocations: 183.2 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3099, allocations: 1.156 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.31, allocations: 16.64 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.31, allocations: 1.375 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.31, allocations: 1.5 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.3101, allocations: 8.25 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3101, allocations: 4.719 kB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3104, allocations: 494.2 kB / 380.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.3104, allocations: 83.17 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3104, allocations: 3.406 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3106, allocations: 12.66 kB / 380.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3107, allocations: 10.16 kB / 380.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3107, allocations: 9.609 kB / 380.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.3108, allocations: 91.25 kB / 380.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.3108, allocations: 0 / 380.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3111, allocations: 14.91 kB / 380.9 MB, free: 12.1 MB / 318.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.0004698/0.3116, allocations: 1.019 MB / 381.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.3119, allocations: 62.61 kB / 382 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3119, allocations: 0 / 382 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.312, allocations: 32.81 kB / 382 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.3125, allocations: 7.625 kB / 382 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.3131, allocations: 236.6 kB / 382.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3133, allocations: 0.6901 MB / 382.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3134, allocations: 4.078 kB / 382.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.3134, allocations: 23.55 kB / 383 MB, free: 10.23 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3134, allocations: 5.375 kB / 383 MB, free: 10.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3347, allocations: 1.652 MB / 384.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.077, allocations: 9.922 kB / 384.6 MB, free: 9.73 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches