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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 212 kB / 24.47 MB, free: 3.547 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.37/1.37, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 57.64 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2896, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003267/0.2929, allocations: 1.578 MB / 397.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.2936, allocations: 446.8 kB / 398.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.2937, allocations: 1.406 kB / 398.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.2937, allocations: 14.95 kB / 398.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.2938, allocations: 9.766 kB / 398.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.2939, allocations: 16.3 kB / 398.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.294, allocations: 63.3 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2942, allocations: 38.17 kB / 398.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.2943, allocations: 26.2 kB / 398.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.2944, allocations: 28.84 kB / 398.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2944, allocations: 4.562 kB / 398.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2944, allocations: 6.312 kB / 398.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.2944, allocations: 15.45 kB / 398.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2944, allocations: 25.08 kB / 398.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2946, allocations: 71.84 kB / 398.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2946, allocations: 0 / 398.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2946, allocations: 0 / 398.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2946, allocations: 1.281 kB / 398.7 MB, free: 7.355 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.0004682/0.2951, allocations: 308 kB / 399 MB, free: 7.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2951, allocations: 17.45 kB / 399 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.2952, allocations: 38.91 kB / 399 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.2952, allocations: 9.141 kB / 399 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2953, allocations: 120.2 kB / 399.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.2953, allocations: 11.22 kB / 399.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2953, allocations: 4.594 kB / 399.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2956, allocations: 116.8 kB / 399.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2956, allocations: 0 / 399.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2956, allocations: 5.375 kB / 399.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2956, allocations: 3.453 kB / 399.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2958, allocations: 54.56 kB / 399.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.2963, allocations: 0.6016 MB / 399.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2965, allocations: 113.9 kB / 400 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2966, allocations: 50.59 kB / 400.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2966, allocations: 6.156 kB / 400.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2966, allocations: 38.06 kB / 400.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2966, allocations: 0 / 400.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000448/0.2971, allocations: 127 kB / 400.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2971, allocations: 161.9 kB / 400.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.2972, allocations: 129 kB / 400.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.2972, allocations: 31.06 kB / 400.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.2972, allocations: 94.09 kB / 400.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.2973, allocations: 19.27 kB / 400.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.2973, allocations: 25.14 kB / 400.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.2974, allocations: 315.7 kB / 401 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.2974, allocations: 19.27 kB / 401 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.2975, allocations: 54.47 kB / 401.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2977, allocations: 79.58 kB / 401.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2977, allocations: 0 / 401.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002094/0.2979, allocations: 101.3 kB / 401.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2979, allocations: 5.188 kB / 401.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2979, allocations: 5.828 kB / 401.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2979, allocations: 2.5 kB / 401.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.298, allocations: 15.86 kB / 401.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2981, allocations: 5.625 kB / 401.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.2981, allocations: 7.531 kB / 401.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2981, allocations: 3.031 kB / 401.3 MB, free: 4.906 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 6.343e-05/0.2982, allocations: 119.7 kB / 401.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2983, allocations: 12.19 kB / 401.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.2983, allocations: 19.19 kB / 401.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2983, allocations: 3.188 kB / 401.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2983, allocations: 5.156 kB / 401.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2983, allocations: 6.688 kB / 401.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.2986, allocations: 147.3 kB / 401.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2986, allocations: 1.125 kB / 401.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.2987, allocations: 11.86 kB / 401.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2987, allocations: 2.766 kB / 401.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2987, allocations: 5.844 kB / 401.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2987, allocations: 6.688 kB / 401.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2987, allocations: 5.406 kB / 401.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.299, allocations: 495.3 kB / 402.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.299, allocations: 16.36 kB / 402.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.299, allocations: 3.281 kB / 402.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2992, allocations: 7.016 kB / 402.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2993, allocations: 14.88 kB / 402.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.2993, allocations: 3 kB / 402.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.2993, allocations: 95.8 kB / 402.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2993, allocations: 0 / 402.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.2997, allocations: 8.406 kB / 402.3 MB, free: 4.02 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.0004472/0.3001, allocations: 1.013 MB / 403.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3004, allocations: 63.58 kB / 403.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3004, allocations: 0 / 403.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.3005, allocations: 37.39 kB / 403.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3009, allocations: 10.08 kB / 403.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.3016, allocations: 237.2 kB / 403.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.3016, allocations: 75.14 kB / 403.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.3017, allocations: 3.719 kB / 403.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.3017, allocations: 23.5 kB / 403.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3017, allocations: 4.062 kB / 403.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3299, allocations: 2.174 MB / 405.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.22, allocations: 5.078 kB / 405.9 MB, free: 1.637 MB / 318.1 MB " [Timeout remaining time 649] (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/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) [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: 13.553023654967546]