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.001592/0.001592, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001886/0.001886, allocations: 187 kB / 18.66 MB, free: 4.398 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.463/1.463, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001213/0.001213, allocations: 52.25 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09957, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002918/0.1025, allocations: 1.579 MB / 376.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.1033, allocations: 480.3 kB / 376.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.1034, allocations: 0 / 376.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.1035, allocations: 3.938 kB / 376.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.1036, allocations: 11.88 kB / 376.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.1038, allocations: 23.89 kB / 376.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.1039, allocations: 59.78 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1041, allocations: 43.97 kB / 376.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1042, allocations: 39.78 kB / 376.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.1043, allocations: 27.84 kB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1043, allocations: 8 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.1043, allocations: 4 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.1043, allocations: 12 kB / 376.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.1044, allocations: 27.8 kB / 376.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1046, allocations: 75.94 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1046, allocations: 0 / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1046, allocations: 0 / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1046, allocations: 4 kB / 377 MB, free: 2.684 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.0005581/0.1052, allocations: 375.3 kB / 377.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1052, allocations: 8.031 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.1053, allocations: 42.73 kB / 377.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1053, allocations: 8.844 kB / 377.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1055, allocations: 180.1 kB / 377.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1055, allocations: 384 / 377.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1055, allocations: 8.375 kB / 377.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1058, allocations: 118 kB / 377.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1058, allocations: 4 kB / 377.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1058, allocations: 4 kB / 377.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1058, allocations: 0 / 377.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.106, allocations: 59.89 kB / 377.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.1068, allocations: 0.6419 MB / 378.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.107, allocations: 121 kB / 378.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1072, allocations: 60.34 kB / 378.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1072, allocations: 0 / 378.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1073, allocations: 46.44 kB / 378.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1073, allocations: 0 / 378.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005029/0.1078, allocations: 121.6 kB / 378.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.1079, allocations: 154.2 kB / 378.9 MB, free: 476 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.108, allocations: 137.6 kB / 379.1 MB, free: 328 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.108, allocations: 29.7 kB / 379.1 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.1081, allocations: 96.03 kB / 379.2 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1082, allocations: 20.23 kB / 379.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1082, allocations: 21.72 kB / 379.2 MB, free: 144 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1912/0.2994, allocations: 314.8 kB / 379.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2996, allocations: 19.95 kB / 379.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.2997, allocations: 50.12 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2999, allocations: 86.19 kB / 379.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2999, allocations: 0 / 379.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002624/0.3002, allocations: 99.86 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3003, allocations: 5.688 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3003, allocations: 2.531 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3003, allocations: 4.844 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3004, allocations: 12.12 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3004, allocations: 5.75 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.3005, allocations: 14.14 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3005, allocations: 3.312 kB / 379.8 MB, free: 12.41 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 8.951e-05/0.3006, allocations: 114.1 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3007, allocations: 8.562 kB / 380 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.3008, allocations: 20.02 kB / 380 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3008, allocations: 1.375 kB / 380 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3008, allocations: 7.109 kB / 380 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3008, allocations: 1.375 kB / 380 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3012, allocations: 181.7 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3013, allocations: 1.375 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.3013, allocations: 14.25 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3013, allocations: 1.375 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3014, allocations: 7.234 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3014, allocations: 5.828 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3014, allocations: 1.375 kB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3017, allocations: 489.9 kB / 380.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3017, allocations: 83.12 kB / 380.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3017, allocations: 10.8 kB / 380.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.302, allocations: 9.797 kB / 380.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.302, allocations: 13.12 kB / 380.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.302, allocations: 9 kB / 380.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.3021, allocations: 90.31 kB / 380.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3021, allocations: 0 / 380.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.3025, allocations: 13.7 kB / 380.9 MB, free: 11.5 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.0004552/0.3029, allocations: 1.018 MB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3032, allocations: 62.19 kB / 382 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3032, allocations: 3.188 kB / 382 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3033, allocations: 36.16 kB / 382 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.3038, allocations: 7.031 kB / 382 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.3045, allocations: 234.7 kB / 382.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.3047, allocations: 0.695 MB / 382.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.3047, allocations: 3.266 kB / 382.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3048, allocations: 20.08 kB / 383 MB, free: 9.637 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3048, allocations: 0 / 383 MB, free: 9.637 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.323, allocations: 1.663 MB / 384.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.244, allocations: 9.016 kB / 384.6 MB, free: 9.137 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