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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 207.6 MB / 231.8 MB, free: 4.215 MB / 174.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001631/0.001631, allocations: 55.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09664, allocations: 49.12 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002931/0.09957, allocations: 1.599 MB / 393 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.1003, allocations: 471.5 kB / 393.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1004, allocations: 0 / 393.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.1004, allocations: 15.86 kB / 393.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.1005, allocations: 11.88 kB / 393.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.1006, allocations: 19.98 kB / 393.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1007, allocations: 67.7 kB / 393.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1009, allocations: 35.91 kB / 393.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.101, allocations: 23.92 kB / 393.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.101, allocations: 39.72 kB / 393.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1011, allocations: 4 kB / 393.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.1011, allocations: 8 kB / 393.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1011, allocations: 7.984 kB / 393.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.1011, allocations: 35.8 kB / 393.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1013, allocations: 71.66 kB / 393.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1013, allocations: 0 / 393.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1013, allocations: 0 / 393.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1013, allocations: 0 / 393.8 MB, free: 6.352 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.0005249/0.1018, allocations: 379.2 kB / 394.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1018, allocations: 12.03 kB / 394.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1019, allocations: 38.75 kB / 394.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1019, allocations: 12.88 kB / 394.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1021, allocations: 176.2 kB / 394.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1021, allocations: 8.375 kB / 394.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1021, allocations: 8.375 kB / 394.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1023, allocations: 114.1 kB / 394.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1023, allocations: 0 / 394.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1023, allocations: 0 / 394.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1023, allocations: 7.938 kB / 394.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1025, allocations: 63.89 kB / 394.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.1032, allocations: 0.6342 MB / 395.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1033, allocations: 109 kB / 395.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1035, allocations: 60.33 kB / 395.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1035, allocations: 4 kB / 395.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1035, allocations: 34.56 kB / 395.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1035, allocations: 0 / 395.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004246/0.1039, allocations: 129.4 kB / 395.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.104, allocations: 158.2 kB / 395.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.1041, allocations: 130.2 kB / 395.8 MB, free: 4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1041, allocations: 25.7 kB / 395.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1042, allocations: 104 kB / 395.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.1042, allocations: 15.91 kB / 395.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1043, allocations: 21.7 kB / 396 MB, free: 3.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1044, allocations: 318.8 kB / 396.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.1045, allocations: 19.98 kB / 396.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.1046, allocations: 52.28 kB / 396.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1047, allocations: 76.2 kB / 396.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1047, allocations: 4 kB / 396.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000222/0.105, allocations: 97.48 kB / 396.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.105, allocations: 8 kB / 396.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.105, allocations: 0 / 396.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.105, allocations: 0 / 396.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1051, allocations: 15.98 kB / 396.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1051, allocations: 12.03 kB / 396.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.1051, allocations: 11.92 kB / 396.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1052, allocations: 4 kB / 396.6 MB, free: 3.168 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 9.17e-05/0.1052, allocations: 121.8 kB / 396.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.1053, allocations: 7.953 kB / 396.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.1054, allocations: 15.52 kB / 396.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1054, allocations: 3.984 kB / 396.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.1054, allocations: 7.938 kB / 396.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1054, allocations: 0 / 396.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1058, allocations: 185.8 kB / 396.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1058, allocations: 4 kB / 396.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.1058, allocations: 15.98 kB / 396.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1058, allocations: 0 / 396.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1058, allocations: 0 / 396.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1059, allocations: 7.938 kB / 396.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1059, allocations: 3.938 kB / 396.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1063, allocations: 488.6 kB / 397.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1063, allocations: 85.06 kB / 397.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1063, allocations: 4 kB / 397.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1065, allocations: 15.98 kB / 397.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1066, allocations: 19.86 kB / 397.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1066, allocations: 7.938 kB / 397.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.1066, allocations: 91.22 kB / 397.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1066, allocations: 0 / 397.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.107, allocations: 12 kB / 397.6 MB, free: 1.996 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.0007082/0.1077, allocations: 1.018 MB / 398.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1079, allocations: 59.84 kB / 398.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1079, allocations: 0 / 398.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.108, allocations: 39.91 kB / 398.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1085, allocations: 8.672 kB / 398.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.1092, allocations: 252.6 kB / 399 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1096, allocations: 0.6885 MB / 399.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1096, allocations: 4 kB / 399.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.1097, allocations: 19.42 kB / 399.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1097, allocations: 0 / 399.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1321, allocations: 1.651 MB / 401.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.965, allocations: 11.8 kB / 401.4 MB, free: 14.09 MB / 334.1 MB " [Timeout remaining time 652] (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 --stepSize=0.00039976 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.384876752272248]